Remove-DPMSecurityGroup

Remove-DPMSecurityGroup

Allows you to remove a security group from a DPM role.

Syntax

Remove-DPMSecurityGroup [-DpmRole] <DPMRole> [[-SecurityGroups] <String>] [-All <SwitchParameter>] [<CommonParameters>]

Detailed Description

The Remove-DPMSecurityGroup cmdlet allows you to remove a security group from a DPM role.

Parameters

-DpmRole

The DPM role for SQL Server end-user recovery.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

0

-SecurityGroups

The security groups you want to add or remove to a DPM role.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

1

-All

Will affect all objects that the cmdlet refers to.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-CommonParameter

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

Input and Return Types

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

Notes

  • For more information, type "Get-Help Remove-DPMSecurityGroup -detailed".
    For technical information, type "Get-Help Remove-DPMSecurityGroup -full".

    Additionally, any updated information about the cmdlet will be available at http://go.microsoft.com/fwlink/?LinkId=95130.

Examples