Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. PScottC

    Script seeing input variable value as blank but sees hard-coded value

    To add a little value on the conversation, I recommend you use more variables to make the code clearer. Additionally, you are shooting yourself in the foot by hard-coding the domain in the script, when you could just query for it. ' Get Root AD object via query rather than hard coded value. Set...
  2. PScottC

    MsgBox on alternate days

    Doesn't make my answer incorrect. :) https://techcommunity.microsoft.com/t5/windows-it-pro-blog/vbscript-deprecation-timelines-and-next-steps/ba-p/4148301 If you're using existing code, go for it. I just wouldn't start a new programming project in that language. Native Intellisense support has...
  3. PScottC

    MsgBox on alternate days

    Hi - Like most scripting languages, VBS is typically a one-and-done execution. Given this behavior, the easiest way to accomplish this task is to run your script from the Windows Task Scheduler. The bigger issue is that Microsoft has announced an end-of-life for VBS. The cscript.exe and...
  4. PScottC

    Cannot create VLAN using Network assistant

    Seems more likely that it's a Java or browser issue. PSC [—] CCNPx4 (Security/R&S/Wireless/Voice) [•] MCITP:EA [•] CICE [—] Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no...
  5. PScottC

    IPSec VPN

    Except for the NAT, which you don't show a full configuration for, everything looks fine. Can you ping from 10.0.1.1 to 10.0.1.10? PSC [—] CCNPx3 (Security/R&S/Wireless) [•] MCITP: Enterprise Admin [•] MCSE [—] Governments and corporations need people like you and me. We...
  6. PScottC

    Cannot create VLAN using Network assistant

    What VLAN # are you trying to create? I don't think that NA can deal with #s higher than 1000. PSC [—] CCNPx3 (Security/R&S/Wireless) [•] MCITP: Enterprise Admin [•] MCSE [—] Governments and corporations need people like you and me. We are samurai. The keyboard cowboys...
  7. PScottC

    %SFF8472-5-THRESHOLD_VIOLATION Tx power low alarm;

    You will get that error if the module is not receiving light from the other end. 1) Is the other end plugged in? 2) Do the tx and rx fibers need to be flipped in the connector? PSC [—] CCNPx3 (Security/R&S/Wireless) [•] MCITP: Enterprise Admin [•] MCSE [—] Governments...
  8. PScottC

    Muxing trunk ports

    Create a port aggregation (also called EtherChannel, Port-Channel, and Channel-Group among others). For example int range gi6/1, gi7/1 channel-group 12 mode active ! int po12 switch mode trunk The # 12 indicates a relationship between the ports to be aggregated and the resulting PortChannel...
  9. PScottC

    Add a website to go through Site 2 Site VPN

    On the remote site include the vendor web server as a destination in the tunnel ACL. On the head end side you will need to: [ol 1] Add the vendor web server as a source in the tunnel ACL Create a NAT so the hairpinned traffic gets NAT'd to the outside interface Enable "same security-traffic...
  10. PScottC

    Site to Site VPN Security

    You can also apply an access-list to your tunnel traffic. The sample below is generic, but could be applied to your situation. access-list ACL_S2S_Filter extended permit tcp any any eq http access-list ACL_S2S_Filter extended permit tcp any any eq https ! group-policy GP_Filtered_S2S...
  11. PScottC

    Can't Ping to default router

    Native VLAN determines what the switch does with untagged frames. So if you want untagged frames to be in vlan 14, you would specify that as the native vlan. If you expect a frame to have a 802.1q tag, then that is simply a trunked vlan. If you've got an uplink from a cisco switch to a...
  12. PScottC

    Can't Ping to default router

    I'm saying that Rapid STP (RSTP) and Per-Vlan STP (PVST) should not be inconpatible. Don't get caught up in the acronyms. Spanning Tree is Spanning Tree. Compatibility was built into the 802.1q protocols. Your Cisco Switches may be defaulting to ISL on the trunk ports, which is causing...
  13. PScottC

    Can't Ping to default router

    You have to pass the BPDU. Rapid STP is just a variant of STP. PVSTP is simply "per VLAN" STP. You will get a loop if you fail to pass BPDUs between all the switches if you have a redundant connected topology. Enable RSTP on your ET switches and enable Rapid PVST on the Cisco switches. You...
  14. PScottC

    AD VB Script Query

    You can do it with VBScript, but if you need a simple query run that will export to CSV format, then use the CSVDE command. csvde -f datadump.csv -r "(&(objectClass=computer))" -l "description" If you need more complex manipulation, then we can discuss a VB solution. PSC [—] CCNPx3...
  15. PScottC

    cisco vpn configuration

    You must have a CCO logon and valid service contract to download IOS software from Cisco. PSC [—] CCNPx3 (Security/R&S/Wireless) [•] MCITP: Enterprise Admin [•] MCSE [—] Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And...
  16. PScottC

    Help with Cisco Aironet 1310 and Aironet 6-dBi Omnidirectional Antenna

    You're using a 5GHz antenna (802.11a) on a device that can only supply 2.4GHz services (802.11b/g). You need to get the appropriate 2.4GHz antenna. Compatible antennae are listed here: http://www.cisco.com/en/US/prod/collateral/wireless/ps5679/ps5861/product_data_sheet09186a008022198b.html...
  17. PScottC

    Remove Win2k8r2 Server Core Domain Controller

    You need to create an answer file to run your dcpromo. Since this is the only DC, it is also the last DC in the domain. There are special options that you will need to select to remove the DC functionality from the machine. PSC [—] CCNPx3 (Security/R&S/Wireless) [•] MCITP...
  18. PScottC

    Certificates

    .cer and .crt are often the same... i.e. Base 64 encoded certificate. When you downloaded the certificate from the CA, did you choose binary or Base64? Also, your apache server may require that the entire certificate chain be present in the .cer file. Check the documentation. PSC [—]...
  19. PScottC

    Rename Group Policy with Win 7 RSET - Need verification

    A star to you for taking the extra step there. PSC [—] CCNPx3 (Security/R&S/Wireless) [•] MCITP: Enterprise Admin [•] MCSE [—] Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no...
  20. PScottC

    help with Windows 7 finding installed VNC

    1) I think there's a problem with your WMI query... 2) You may need to run MSIExec instead of just pushing the file. (switch to quiet when you're convinced things are working) Option Explicit 'Forces variables to be declared 'Declare variables Dim strComputer, objWMIService, colSoftware...

Part and Inventory Search

Back
Top