Query command in Windows

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016 , Windows Server 2012 R2, Windows Server 2012 )

The query command displays information aboutRemote Desktop Session Hostprocesses, sessions and servers(RD Session Host).

Syntax of the command

 query process 
query session
query termserver
query user

Query parameter

Parameters

Describe

query process

Displays information about processes running on theRD Session Hostserver.

query session

Displays information about sessions on theRD Session Hostserver.

query termserver

Displays a list of all theRD Session Hostserverson the network.

query user

Displays user session information on theRD Session Host host.

See more:

  1. The print command in Windows
  2. The net print command in Windows
  3. Netcfg command in Windows
  4. Nbtstat command in Windows
5 ★ | 1 Vote

May be interested

  • Openfiles commands in WindowsOpenfiles commands in Windows
    allows administrators to query, display, or disconnect files and folders that have been opened on the system. in addition, this command can also license or disable the maintain objects list system.
  • Why use Microsoft Power Query for ExcelWhy use Microsoft Power Query for Excel
    if you're looking for a powerful new way to manage data, microsoft excel for windows now has software built in to help you with that, which is microsoft power query. this is a new tool that helps you take control of your spreadsheets more than ever.
  • TOP command in SQLTOP command in SQL
    in sql, the top statement is used to retrieve n records or x percent records from a table.
  • Fsutil fsinfo command in WindowsFsutil fsinfo command in Windows
    the fsutil fsinfo command lists all drives, querying a drive type, query disk information, querying specific ntfs drive information, or file system statistics queries.
  • Set up Query Criteria in Access 2016Set up Query Criteria in Access 2016
    the query criteria (query criteria) are filter conditions that help you retrieve specific items from an access database, used when you want to limit results based on values ​​in a field.
  • Index (Mong) in MongoDBIndex (Mong) in MongoDB
    index (index) supports the resolution of queries more efficiently. without an index, mongodb must scan through all a collection's document to select the documents that connect to the query command. this scan may be ineffective and requires mongodb to handle a large amount of data.
  • What do you know about data queries?What do you know about data queries?
    query is a way to search and compile data from one or more tables. query execution is like asking a detailed question about databases. when creating a query in access, you are defining specific search conditions to find exactly the data you need. in the quiz below, go with the network administrator to learn about this topic.
  • Sub-commands in nslookup Windows command (Part 2)Sub-commands in nslookup Windows command (Part 2)
    nslookup set all command, nslookup set class, nslookup set d2, alias ​​nslookup set debug, nslookup set domain, nslookup set port, and nslookup set querytype in windows
  • Sub-commands in the nslookup Windows command (Part 1)Sub-commands in the nslookup Windows command (Part 1)
    nslookup command exit, finger nslookup, nslookup help, nslookup ls, nslookup lserver, nslookup root, commandlooklook server, nslookup set in windows
  • The Fsutil file in WindowsThe Fsutil file in Windows
    the fsutil file finds a file by the user name (if disk quotas is enabled), the query allocates the scope to a file, sets the short name to a file, sets the valid data length of the file, sets the data zero for a file, or create a new file.