Export (0) Print
Expand All
Expand Minimize

Remove-SCOMManagementGroupConnection

Updated: February 26, 2014

Applies To: System Center 2012 - Operations Manager, System Center 2012 R2 Operations Manager, System Center 2012 SP1 - Operations Manager

Remove-SCOMManagementGroupConnection

Deletes persistent connections to management groups.

Syntax

Parameter Set: FromConnection
Remove-SCOMManagementGroupConnection [-Connection] <Connection[]> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Remove-SCOMManagementGroupConnection cmdlet deletes persistent connections to System Center 2012 – Operations Manager management groups. To obtain a connection, use the Get-SCOMManagementGroupConnection cmdlet. For more information about persistent connections, type Get-Help about_OpsMgr_Connections.

Parameters

-Connection<Connection[]>

Specifies an array of Connection objects. To obtain a connection object, use the Get-SCOMManagementGroupConnection cmdlet.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.SystemCenter.Core.Connection.Connection

    You can pipe a management group connection to the Connection parameter of this cmdlet.


Outputs

The output type is the type of the objects that the cmdlet emits.

  • This cmdlet does not generate any output.


Examples

Example 1: Remove the active connection

This command deletes the currently active management group connection. The command uses the Get-SCOMManagementGroupConnection cmdlet to get all connections and passes them to a conditional that drops any inactive connections from the pipeline. The command passes any active connection to the Remove-SCOMManagementGroupConnection cmdlet by using the pipeline operator.


PS C:\> Get-SCOMManagementGroupConnection |?{$_.IsActive } | Remove-SCOMManagementGroupConnection

Related topics


Get-SCOMManagementGroupConnection

New-SCOMManagementGroupConnection

Set-SCOMManagementGroupConnection

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