For When You Can't Have The Real Thing
[ start | index | login ]
start > Windows > Who Is Logged In

Who Is Logged In

Created by dave. Last edited by dave, 8 years and 156 days ago. Viewed 2,325 times. #1
[edit] [rdf]


I want to see which user is logged in to a Windows workstation without having to find the computer in question.


If these are all domain members, then powershell on the DC should work:

$computername = 'SomeMachine-or-IP'

Get-WmiObject Win32_ComputerSystem -ComputerName $computername | Select-Object -ExpandProperty UserName

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt