Hi All,
Can someone help me with a script (Powershell or VB) to populate the currently logged in username from Computers ?
What I have ?
A spreadsheet with Computer names.
Eg:
COMP001
COMP002
.
.
.
COMP00n
What I am looking for ?
A script that reads Computer names from the spreadsheet and finds the currently logged in users on these computer and export the details to another spreadsheet in a something similar format.
COMP001 Adam
COMP002 Brian
I tried some scripts which I got from different forums out there but I am not getting what I am trying to achieve.
Thanks,
Joe