Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

query termserver

Feedback

In this article

Displays a list of all Remote Desktop Session Host servers on the network. This command searches the network for all attached Remote Desktop Session Host servers and returns the following information:

  • Name of the server

  • Network (and node address if the /address option is used)

Note

To find out what's new in the latest version, seeWhat's New in Remote Desktop Services in Windows Server.

Syntax

query termserver [<servername>] [/domain:<domain>] [/address] [/continue]

Parameters

ParameterDescription
<servername>Specifies the name that identifies the Remote Desktop Session Host server.
/domain:<domain>Specifies the domain to query for terminal servers. You don't need to specify a domain if you are querying the domain in which you are currently working.
/addressDisplays the network and node addresses for each server.
/continuePrevents pausing after each screen of information is displayed.
/?Displays help at the command prompt.

Examples

To display information about all Remote Desktop Session Host servers on the network, type:

query termserver

To display information about the Remote Desktop Session Host server namedServer3, type:

query termserver Server3

To display information about all Remote Desktop Session Host servers in domainCONTOSO, type:

query termserver /domain:CONTOSO

To display the network and node address for the Remote Desktop Session Host server namedServer3, type:

query termserver Server3 /address

Related links


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?