Share via


Remove-SCManagementGroupConnection

Removes an existing connection to a System Center Operations Manager Management Group.

Syntax

Default (Default)

Remove-SCManagementGroupConnection
    [-Connection] <Connection[]>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Remove-SCManagementGroupConnection cmdlet removes an existing connection to a System Center Operations Manager Management Group. This command can also be executed with Remove-SCOMManagementGroupConnection.

Examples

1: Remove a management group connection

PS C:\>Get-SCManagementGroupConnection | Remove-SCManagementGroupConnection

Gets and then removes an existing System Center Operations Manager management group connection.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Connection

The Remove-SCManagementGroupConnection cmdlet removes an existing connection to a System Center Operations Manager Management Group. This command can also be executed with Remove-SCOMManagementGroupConnection.

Parameter properties

Type:

Connection[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.