Set-​PA​MGroup

Updates a PAM group in the MIM Service.

Syntax

Set-PAMGroup
   [-Group] <PAMGroup>
   [[-SourceAccountName] <String>]
   [[-SourceDomain] <String>]
   [[-SourceAccountSID] <String>]
   [[-PrivAccountName] <String>]
   [[-PrivDisplayName] <String>]
   [[-PrivDescription] <String>]
   [[-Active] <Boolean>]
   [[-Session] <PAMSession>]
   [<CommonParameters>]

Description

The Set-PAMGroup cmdlet updates a Privileged Access Management (PAM) group in the Microsoft Identity Manager (MIM) Service. The group in other existing domains is not modified.

Examples

Example 1: Change an attribute of a group

PS C:\> Set-PAMGroup -Group (Get-PAMGroup -PrivDisplayName "contoso.corpadmins") -PrivDescription "For IT Use"

This command changes the description of a group with a specified display name in the MIM Service and the PAM domain.

Required Parameters

-Group

Specifies the group to be updated, returned by Get-PAMGroup.

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

Optional Parameters

-Active

Specifies whether the group is active for activation.

Type:Boolean
Position:8
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PrivAccountName

Specifies the account name of the group in the PAM domain.

Type:String
Position:5
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PrivDescription

Specifies the description of the group in the PAM domain.

Type:String
Position:7
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PrivDisplayName

Specifies the display name of the group in the PAM domain.

Type:String
Position:6
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:9
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SourceAccountName

Specifies that this cmdlet overrides the account name of the group in the source domain.

Type:String
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SourceAccountSID

Specifies that this cmdlet overrides the security identifier of the group in the source domain.

Type:String
Position:4
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SourceDomain

Specifies the NetBIOS name of the domain in which the source group is located.

Type:String
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.IdentityManagement.PamCmdlets.Model.PAMGroup