What's the best way to see logged in users in Windows Server 2012?

Solution 1:

Use the query user command

Query User Command
http://technet.microsoft.com/en-us/library/bb490801.aspx

Solution 2:

Open the Task-Manager and see the users tab. There you will find a list of users and their status.

Task-Manager


Solution 3:

Get-WMIObject -class Win32_ComputerSystem -ComputerName 192.168.1.9 | Select-Object UserName

where 192.168.1.9 is the IP of the server


Solution 4:

"quser" command will give you the active now users

the same result will give you the "qwinsta" command