Do you know which users are logged on to your systems? Want to find out? function get-logedonuser { param ( [string] $computername = $env:COMPUTERNAME ) Get-WmiObject -Class Win32_LogonSession -ComputerName $computername | foreach { $data = $_ $id =
Read More...
Read the complete post at http://msmvps.com/blogs/richardsiddaway/archive/2012/01/17/get-the-logged-on-users.aspx
Posted
Jan 17 2012, 03:01 PM
by
Richard Siddaway's Blog