Qappsrv (query termserver) command in Windows
(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)
The qappsrv command displays a list of all Remote Desktop Session Host (RD Session Host) servers on the network.
Attention
This command is similar to the query termserver command .
The query termserver command
(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)
The query termserver command displays a list of all Remote Desktop Session Host (RD Session Host) servers on the network.To learn more about how to use this command, see the example below.
Syntax query termserver command.
query termserver [] [/ domain:] [/ address] [/ continue]
The query termserver command parameter
Parameters
Describe
Specify the name of the RD Session Host host identifier.
/ domain:
Specify the domain to query for terminal servers.You do not need to specify a domain if you are querying the domain you are currently working with.
/ address
Displays the network address and node address for each server.
/tiếp tục
Prevent pauses after each information screen is displayed.
/?
Show help at thecommand prompt.
Explain the query termserver command
The query termserver command will search the network for all the attached RD Session Host servers and return the following information:
- The name of the server.
- Network system (and node address if option / address is used).
For example, the query termserver command
To display information about all servers hosting rd Session Host on the network, type:
query termserver
To display the information about the RD Session Host server named Server3, type:
query termserver Server3
To display information about all RD Session Host servers in the CONTOSO domain, enter:
query termserver / domain: CONTOSO
To display the network address and node address for the RD Session Host server named Server3 , type:
query termserver Server3 / address
See more:
- Prnport command in Windows
- Prnmngr command in Windows
- The prnjobs command in Windows
- Prndrvr command in Windows
You should read it
- The reg query command in Windows
- The bootcfg query command in Windows
- Query command in Windows
- Qprocess (query process) command in Windows
- Qwinsta (query session) command in Windows
- The quser (query user) command in Windows
- The LIKE command in SQL
- The multiple-choice question set has an answer to Query P1
- Fsutil fsinfo command in Windows
- TOP command in SQL
- Del command in Windows
- Index (Mong) in MongoDB