Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

find computer

Status
Not open for further replies.

keenanbr

Programmer
Oct 3, 2001
469
IE
I am looking for a script that given a computer name will find the owner like the 'Find Computer' utility

 
The computer has to be online for the script to work. However, if you right click the computer name in AD and select manage, it will provide you with even more info than just who's logged on (it runs msinfo32 on the client). You can also work with these variables in a user logon batch..

echo %username% >>\\server\share\PCLog.txt
echo %computername% >>\\server\share\PCLog.txt

Make sure you grant write permissions to the users to PCLog.txt


Start, Help. You'll be surprised what's there. A+/MCP/MCSE/MCDBA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top