header image
 

PowerShell goodness

Want to know who is currently logged into a machine?
(gwmi Win32_ComputerSystem -Comp).username

PowerShell <3

~ by Shane Martins on June 28, 2012 . Tagged:



Leave a Reply

 
Skip to toolbar