I forget whose blog I saw this on but someone has a script to update the computer description field with a logon script when a user logs on.
That way you can query AD on the description field to find a user. It's probably the easiest method I've seen to track logged on users.
"DanF" wrote:
[Quoted Text] > New to PowerShell, new to AD > What I would like to do is enter a users windows ID for a user who is logged > on to a domain and have the computer name returned. Is this possible? > Pointers on how to accomplish this would be welcomed. >
|