This is part of a larger script. I am having issues with running the child process and splitting the results.
Here is a script that works:
# Set the snmp community string password.
$Comstr = "communitystring";
# Set the server name to query.
$server = "servername";
#Change to the directory the...
Here is my issue.
I can read from the file:
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objReadFile = objFSO.OpenTextFile("C:\anyname.txt", ForReading)
strComputer = objReadFile.ReadLine
Set objTextFile = objFSO.OpenTextFile("C:Path\"&strComputer&".htm", ForWriting, True)
Do...
Here is the Script in question.
I want to pull the datetime and time zone from the machines listed in the text file. This all works very well it is formatting issues I am having with the date and time. Do you all have any suggestions for me.
I plan on using a Select case to get the timezone...
How can I check to see if I have accss to read:
1. The computers Registry
2. Have access to write to the Harddrive.
I can read the registry and the copy commands are not that hard to figure out. I want check for access before I get into those functions, can anyone help out?
Does anyone know how to do this? or if it can be done?
I've been able to set up and ODBC to NDS but now I want to pull some Crystal type reports out of Active Directory.
Thanks
BumpBump
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.