Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Query termserver

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Query termserver

Displays a list of all terminal servers on the network.

Syntax

query termserver [ServerName] [/domain:Domain] [/address] [/continue]

Parameters
ServerName
Specifies the name identifying 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 SYSTEM, type:

query termserver /domain:system

To display the network and node address for the terminal server named server3, type:

query termserver server3 /address

Formatting legend

 

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.