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


Copy Code

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

Examples


Copy Code

query termserver


Copy Code

query termserver Server3


Copy Code

query termserver /domain:CONTOSO


Copy Code

query termserver Server3 /address

Additional references

Command-Line Syntax Key

Query

Terminal Services Command Reference