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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
.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
[—]...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.