Export (0) Print
Expand All
Expand Minimize

Get-ManagementServer

Get-ManagementServer

Gets management servers.

Syntax

Parameter Set: FromMonitoringObjectProviderPath
Get-ManagementServer [[-Path] <String[]> ] [ <CommonParameters>]




Detailed Description

Gets management servers for all connected management groups by default. You can use the Path parameter to limit the set of management groups for which to retrieve management servers. Specify the Root parameter to retrieve only the root management servers.

Parameters

-Path<String[]>

Specifies the path or paths to the management servers to retrieve. To enter multiple values, separate them by using commas.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Notes

  • For more information, type "Get-Help Get-ManagementServer -detailed". For technical information, type "Get-Help Get-ManagementServer -full".
    When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

Examples

-------------- EXAMPLE 1 --------------

This command gets an object representing the root management server and stores a reference to it in the $root_mgmt_svr variable.


C:\PS>$root_mgmt_svr = get-managementserver -root

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft