Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.53 KB

File metadata and controls

40 lines (30 loc) · 1.53 KB
title description ms.topic ms.assetid ms.author author manager ms.date
query commands
Reference article for the query commands, which displays information about processes, sessions, and Remote Desktop Session Host servers.
reference
675c5128-f3cf-4e8f-8a3f-b29ab2a8b6de
jgerend
JasonGerend
mtillman
10/16/2017

query commands

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Displays information about processes, sessions, and Remote Desktop Session Host servers. To find out what's new in the latest version, see What's New in Remote Desktop Services in Windows Server.

Syntax

query process
query session
query termserver
query user

Parameters

Parameter Description
query process Displays information about processes running on an Remote Desktop Session Host server.
query session Displays information about sessions on a Remote Desktop Session Host server.
query termserver Displays a list of all Remote Desktop Session Host servers on the network.
query user Displays information about user sessions on a Remote Desktop Session Host server.

Related links