Qappsrv (query termserver) command in Windows

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

(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:

  1. The name of the server.
  2. 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:

  1. Prnport command in Windows
  2. Prnmngr command in Windows
  3. The prnjobs command in Windows
  4. Prndrvr command in Windows
4.1 ★ | 18 Vote