Gets the security groups for a DPM role.
Group [-DpmRole] <DpmRole> [<CommonParameters>]
The Get-DPMSecurityGroup cmdlet gets the security groups for a System Center 2019 - Data Protection Manager (DPM) role.
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.
Specifies a DPM role from which this cmdlet gets security groups. To obtain a DPM role object, use the Get-DPMRole cmdlet.
|Accept pipeline input:||False|
|Accept wildcard characters:||False|