Query termserver |
Applies To: Windows Vista,Windows Server 2008
Displays a list of all terminal servers on the network.
For examples of how to use this command, see Examples.
Syntax
|
|
query termserver [<ServerName>] [/domain:<Domain>] [/address] [/continue] |
Parameters
Parameter |
Description |
<ServerName> |
Specifies the name that identifies the terminal server. |
/domain:<Domain> |
Specifies the domain to query for terminal servers. You do not need to specify a domain if you are querying the domain in which you are currently working. |
/address |
Displays the network and node addresses for each server. |
/continue |
Prevents pausing after each screen of information is displayed. |
/? |
Displays help at the command prompt. |
Remarks
- Query termserver searches the network for all attached terminal servers and returns the following information:
- The name of the server
- The network (and node address if the /address option is used)
Examples
- To display information about all terminal servers on the network, type:
|
|
query termserver |
- To display information about the terminal server named Server3, type:
|
|
query termserver Server3 |
- To display information about all terminal servers in domain CONTOSO, type:
|
|
query termserver /domain:CONTOSO |
- To display the network and node address for the terminal server named Server3, type:
|
|
query termserver Server3 /address |
Additional references
Terminal Services Command Reference