Wednesday 29 May 2013

Terminal Server Commands: QUERY


Terminal Server Commands: QUERY

The query utilities are used to display current information about the system such as the current allocation of resources and system status. The query command can invoke any one of the query utilities. The command line format is:

query [appservers | object | process | session | user] [/?]
/? (help)

Query Appservers - Examples

To display information about all application servers found on the network, type:
query appservers

To display information about the fasteddie application server, type:
query appservers fasteddie

To display information about all application servers in domain SYSTEM, type:
query appservers /domain:system

To display the network and node address for the NABBY application server, type:
query appservers NABBY /address

These commands are extremely helpful "when good servers go bad". An example is shown below. This is an easy way of checking the state of your rdp sessions on a server & resetting any connections that you need to.



No comments:

Post a Comment