Remove-PAMGroup

Removes a group from the MIM Service and the foreign principal group object from the PAM domain.

Syntax

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

Description

The Remove-PAMGroup cmdlet can be used to remove a PAM Group from MIM Service and PAM domain.

Examples

EXAMPLE 1

Remove-PAMGroup -Group (Get-PAMGroup -PrivDisplayName "contoso.corpadmins")

Description


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

Parameters

-Confirm

Prompts you for confirmation before executing the command.

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

@{Text=}

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

The group to be deleted, returned by Get-PAMGroup.

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

Session with the PAM domain and MIM Service.

Type:PAMSession
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Describes what would happen if you executed the command without actually executing the command.

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