
November 10th, 2004, 11:32 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 23
Time spent in forums: 1 m 57 sec
Reputation Power: 0
|
|
|
Wmi
Howdy, Howdy!
Completely new to scripting. Using ( er, better said, learning ) WMI and ADSI ( with vbscripting ) to manage WIN2000 and WIN2003 environments.
Wanting to collect information about the Operating System and Service Pack Level of hundreds of computers. I know that I can do this with ldifde but want to start using WMI for this type of thing. I will eventually be doing this for CPU and RAM and HD information - things that ldifde cannot do and that WMI does so very well.
Question: what does one need to do so that the 'results' of this script is one file that contains the 'requested' information from each computer account object?
Most of the WMI script samples that are readily available are for running against the local machine ( strComputer = "." ) or against one specific 'remote' machine ( strComputer = "w2k-ws-atl" ). And then it just echos that information to the screen ( via WScript.Echo objItem.property ).
What does one need to do so that one file is created and this one file contains the information from each computer account object?
Thanks all,
Cary
|