I have been given the task of creating a script that will shut down all of our Windows workstations remotely. I have doen some searching on this and found that it can be done through a method in WMI, but where I am stuck is getting the computer names. I would like to retrieve them from Active Directory to always get a current list, regardless of where or when the script is run. I would also like to filter out servers, and the workstation the administrator is logged in to. I have been doing programming for a while, but VBScript is new to me - I'm sure this can be done, just not sure exactly how to do it!
Thanks for any help,
Brian
Thanks for any help,
Brian