Remove-​PA​MGroup

Removes a PAM group from the MIM Service.

Syntax

Remove-PAMGroup
      [-Group] <PAMGroup>
      [[-Session] <PAMSession>]
      [-Force]
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

The Remove-PAMGroup cmdlet can be used to remove a Privileged Access Management (PAM) group from the Microsoft Identity Manager (MIM) Service and PAM domain.

Examples

Example 1: Remove a group

PS C:\> Remove-PAMGroup -Group (Get-PAMGroup -PrivDisplayName "contoso.corpadmins")

This command removes a single group with a specified display name from the MIM Service and the PAM domain.

Required Parameters

-Group

Specifies the group to be deleted. You can get the group by calling the Get-PAMGroup cmdlet.

Type:PAMGroup
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Session

Specifies the session with the PAM domain and MIM Service.

Type:PAMSession
Position:2
Default value:None
Accept pipeline input:False
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
Accept pipeline input:False
Accept wildcard characters:False