Set-PAMGroup

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 PAM group in the MIM Service and the PAM domain. The group in the source domain is not modified.

Examples

EXAMPLE 1

Set-PAMGroup -Group (Get-PAMGroup -PrivDisplayName "contoso.corpadmins") -PrivDescription "For IT Use"

Description


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

Parameters

-Active

Whether the group is active for activation.

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

-Group

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

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

-PrivAccountName

Account name of the group in the PAM domain.

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

-PrivDescription

Description of the group in the PAM domain.

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

-PrivDisplayName

Display Name of the group in the PAM domain.

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

-Session

Session with the PAM domain and MIM Service.

Type:PAMSession
Position:9
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SourceAccountName

Overrides the account name of the group in the source domain.

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

-SourceAccountSID

Overrides the security identifier of the group in the source domain.

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

-SourceDomain

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

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

Outputs

Microsoft.IdentityManagement.PamCmdlets.Model.PAMGroup

Modified PAM group.