Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Displays information about user sessions on a Remote Desktop Session Host (rd Session Host) server.
In Windows Server 2008 R2, Terminal Services was renamed Remote Desktop Services. To find out what's new in the latest version, see What s New in Remote Desktop Services in Windows Server 2012 in the Windows Server TechNet Library.
This command is the same as the query user command.