C
Cary Shultz [A.D. MVP]
Good afternoon!
Running WIN2000 Server SP4 Active Directory with WIN2000 Pro SP4 and WINXP
Pro SP1 and SP2 clients. I hope that this is the correct newsgroup. I am
thinking that it is not, based on the name of this newsgroup.
I am a complete newbie when it comes to scripting. So, please be patient.
And please pardon my possible incorrect use of terms.
I am learning WMI and ADSI ( for the purposes of making Systems
Administration a whole lot easier ). What I am trying to find is a simple
way to run a script that will, for this example, compile a list of the
Operating System and Service Pack of all the computers in the domain. I
know that I can easily do this via ldifde ( and do it all the time ) but I
am going to want to do this for RAM, CPU and Hard Drive soon - and ldifde
can not do this. WMI can, though.
Anyway, it seems that all of the examples that I have seen are for running
against the local machine ( strComputer = ".", which is not too bad... ) or
against one, specific remote host ( strComputer = "atl-ws-01" ) . I would
need this to run against all of the computers in the domain. Another
problem is that the 'result' is usually echoed to the screen ( WScript.Echo
objItem.Property ). This does not help when I have hundreds and hundreds of
computers! I would like one single .txt file that contains the information
from all of the computers in the domain. Is this possible?
Thank you all for your suggestions and time!
Cary
Running WIN2000 Server SP4 Active Directory with WIN2000 Pro SP4 and WINXP
Pro SP1 and SP2 clients. I hope that this is the correct newsgroup. I am
thinking that it is not, based on the name of this newsgroup.
I am a complete newbie when it comes to scripting. So, please be patient.
And please pardon my possible incorrect use of terms.
I am learning WMI and ADSI ( for the purposes of making Systems
Administration a whole lot easier ). What I am trying to find is a simple
way to run a script that will, for this example, compile a list of the
Operating System and Service Pack of all the computers in the domain. I
know that I can easily do this via ldifde ( and do it all the time ) but I
am going to want to do this for RAM, CPU and Hard Drive soon - and ldifde
can not do this. WMI can, though.
Anyway, it seems that all of the examples that I have seen are for running
against the local machine ( strComputer = ".", which is not too bad... ) or
against one, specific remote host ( strComputer = "atl-ws-01" ) . I would
need this to run against all of the computers in the domain. Another
problem is that the 'result' is usually echoed to the screen ( WScript.Echo
objItem.Property ). This does not help when I have hundreds and hundreds of
computers! I would like one single .txt file that contains the information
from all of the computers in the domain. Is this possible?
Thank you all for your suggestions and time!
Cary