Script that takes list of Machine Names and returns last logon user from WINS
Posted on 2004-08-17
The title is basically what I am looking for. We are doing a domain migration and we get a list of machines that have failed/succeded and need to be able to find out who was last logged in to the computer. We are currently pulling up WINS and manually typing in the machine names for returns, but hopefully somebody has or can write a script that will take a text file of computer names and return a text file with a list of the computer names matched to the last logon user. VBScript would probably be the easiest to work with, but any language that I can somewhat decipher will work.....