Dela via


Get-PAMSet

Gets sets from the MIM Service.

Syntax

Default (Default)

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

Returns all sets in the MIM Service for PAM.

EXAMPLE 2

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

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

EXAMPLE 3

$ps = Get-PAMSet -IsStatic

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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ObjectId

UUID of a Set object from the MIM Service.

Parameter properties

Type:UniqueIdentifier
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Microsoft.IdentityManagement.PamCmdlets.Model.PAMSet

Zero or more PAM sets from the MIM Service.