Remove-SCManagementGroupConnection

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

Syntax

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.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Connection

Type:Connection[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False