I am searching for a simple command to see logged on users on server. I know this one :
Get-WmiObject -Class win32_computersystem
but this
Maybe you can do something with
get-process -includeusername