Dela via


Get-PAMSet

Gets sets from the MIM Service.

Syntax

Get-PAMSet
   [[-ObjectId] <UniqueIdentifier>]
   [-IsStatic]
   [<CommonParameters>]

Description

The Get-PAMSet cmdlet returns one or more sets from the MIM Service.

Examples

EXAMPLE 1

$ps = Get-PAMSet

Description


Returns all sets in the MIM Service for PAM.

EXAMPLE 2

$ps = Get-PAMSet -ObjectId 31bcec38-ca53-4490-b8c2-572378360d2b

Description


Returns specific set (system predefined set 'PAM Admin') in the MIM Service for PAM.

EXAMPLE 3

$ps = Get-PAMSet -IsStatic

Description


Returns all static sets in the MIM Service for PAM.

Parameters

-IsStatic

If Specified, the cmdlet returns all sets which don't have filtration criteria from the MIM Service.

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

-ObjectId

UUID of a Set object from the MIM Service.

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

Outputs

Microsoft.IdentityManagement.PamCmdlets.Model.PAMSet

Zero or more PAM sets from the MIM Service.