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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need a script that show on which computer a user is logged on

Status
Not open for further replies.

erdal01

Technical User
Jan 23, 2009
14
NL
Hello people,

Can you help me with this.
I need a script which will show me on which computer a user is logged on.
If it's possible I would like to have a script with command box where the userid is filled in and
as answer I will get the computer name?
thx in advance

regards,
Erdal
 
I have tried psloggedon, but it's not working and I need
a script that will look on AD to see if where a suer is logged on and not on every computer.
I am suprised that such a sript is not on the internet.
You would think that this is something every administrator need and has.

 
Hi !
I used to do like this :
1. Check AD for users home directory.
2. Enumerate all pipes at that server (WMI against LanmanServer ) where the share is hosted.
3. find user and from any machines that has a pipe.

Best Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top