Export (0) Print
Expand All
Expand Minimize

Get-FailoverManagementServer

Get-FailoverManagementServer

Returns the failover management servers.

Syntax

Parameter Set: FromAgentManagedComputer
Get-FailoverManagementServer [-AgentManagedComputer] <AgentManagedComputer[]> [ <CommonParameters>]

Parameter Set: FromGatewayManagementServer
Get-FailoverManagementServer [-GatewayManagementServer] <ManagementServer[]> [ <CommonParameters>]




Detailed Description

Returns the failover management servers for a gateway management server or an agent managed computer.

Parameters

-AgentManagedComputer<AgentManagedComputer[]>

The agent-managed computer for which to retrieve the failover management server.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-GatewayManagementServer<ManagementServer[]>

The gateway management server for which to retrieve the failover management server.


Aliases

none

Required?

true

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-FailoverManagementServer -detailed". For technical information, type "Get-Help Get-FailoverManagementServer -full".
    When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

Examples

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

This example returns the failover management server for the specified agent.


C:\PS>Get-Agent | Get-FailoverManagementServer

-------------- EXAMPLE 2 --------------

This example returns the failover management server for the specified gateway management server.


C:\PS>Get-GatewayManagementServer | Get-FailoverManagementServer

Related topics

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