Get-DPMSecurityGroup

Gets the security groups for a DPM role.

Syntax

Get-DPMSecurityGroup [-DpmRole] <DpmRole> [<CommonParameters>]

Description

The Get-DPMSecurityGroup cmdlet gets the security groups for a System Center 2016 - Data Protection Manager (DPM) role.

Examples

Example 1: Get security groups for a role

PS C:\>$DpmRole = Get-DpmRole -Name "OpsMgrSQL"
PS C:\> Get-DPMSecurityGroup -DPMRole $DpmRole

The first command uses the Get-DPMRole cmdlet to get the role named OpsMgrSQL, and then stores it in the $DpmRole variable.

The second command gets the security groups for the role in $DpmRole.

Parameters

-DpmRole

Specifies a DPM role from which this cmdlet gets security groups. To obtain a DPM role object, use the Get-DPMRole cmdlet.

Type:DpmRole
Required:True
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False