Here is the script that I have been working on below. It pings systems based off of the container.txt file OU list(I chose one with only a few systems to save time). Successful pings are logged to pingsuccessful.txt and then loaded into an array. When loading the systems names into the array...
I have a script that ping the wks in a particular OU and put them into a .txt file if successful. I have called up the successful.txt file and put it into an array. I then want to use that array of wks names to list all members of the local admin group.
If someone has a suggestion it would...
Here is a great script I found on MS's site but it only works for server 2003. http://www.microsoft.com/technet/community/scriptcenter/dfs/scrdfs72.mspx
Set objWMIService = GetObject("winmgmts:\\" & strSystemName & "\root\cimv2")
Set colVolumes = objWMIService.ExecQuery("Select * from...
I would like to have a script find the first available cdrom and set it to drive e:
here is some code that will show cdrom devices drive letters but I can't figure out to actually change it.
Const DriveTypeCDROM = 4
Set oFS = Wscript.CreateObject("Scripting.FileSystemObject")
Set oDrives =...
Ok, apparently the script I wrote works on every machine but mine! I have now tested it on other XP machines as well as 2k and 2k3 and they all work. Guess I need to rebuild! =)
Mr. Movie,
I have all the winxp patches/updates. Could you check your version of the following for me? Thanks!
WSH Version: 5.6
VBScript Version: 5.6
WMI Version: 2600.0000
ADSI Version: 5,0,00,0
Hehe, thanks! =) I did some more testing and reading and found that my script did work on NT. However, I still can't get it to work on XP. I found an ms link that states that the there seems to be a difference regarding this object and how its call/referenced with XP. After reading that I...
Thanks Rob for the help. However I did already know the registry location and use. Unfortunately this won't work for what I am trying to accomplish. I need to have this run on a variety of machines each with a different amount of ram. The process needs to be automated with no user input. I...
The code below will display the pagefile min and max size as well as the total physical memory size. I need to set the min and max to equal 1.5 * physical memory size so that when the computer reboots, it retains the new settings.
Any help would be greatly appreciated! = )...
I have a need to run programs sequentially. I can get them to launch all at the same time but that is confusing an cumbersome. I would like to have the second .exe file launched when the first .exe file is done running/installing.
PS. I am newer to vbscripting. Just finished a 3 day class...
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.