Updated: April 17, 2012
Applies To: Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8
Displays information about processes, sessions, and Remote Desktop Session Host (RD Session Host) servers.
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.
query process query session query termserver query user
Displays information about processes that are running on an RD Session Host server.
Displays information about sessions on an RD Session Host server.
Displays a list of all RD Session Host servers on the network.
Displays information about user sessions on an RD Session Host server.