Find Current Logged On Users

I use PSLoggedOn (SysInternals tool) to see who is logged on locally to workstations:

psloggedon.exe \\workstation

Is there a way to perform this task using PowerShell instead of PSLoggedon?

Thanks.

TB
LVL 3
TropicalBoundAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
footechConnect With a Mentor Commented:
There's a number of different methods that you can wrap in PowerShell - using WMI, quser, qwinsta, or PsLoggedOn.  Check out this thread and the links contained which contains examples of a few of these.
http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_28233927.html
0
All Courses

From novice to tech pro — start learning today.