hey guys,
I'm trying to find a script that will list all the computer names and descriptions in AD via a vbscript.
So far I can list the names and locations but I'm struggling to get the description!
I'm creating a command prompt script that will open a admin command prompt on a remote PC via putty. So far my script works but you have to know either the ip address or the pc name. I'd like to be able to input a username and have the script search AD for a computer account with the name in the description and then give me the pc name.
Any ideas???
Cheers in advance
I'm trying to find a script that will list all the computer names and descriptions in AD via a vbscript.
So far I can list the names and locations but I'm struggling to get the description!
I'm creating a command prompt script that will open a admin command prompt on a remote PC via putty. So far my script works but you have to know either the ip address or the pc name. I'd like to be able to input a username and have the script search AD for a computer account with the name in the description and then give me the pc name.
Any ideas???
Cheers in advance