Question: how to check users logged into windows server 2012 command line?
Answer: Right click the taskbar and select Task Manager from the menu. Switch to the Users tab. Right click one of the existing columns, such as User or Status, and then select Session from the context menu.