Get-PAMRole
Gets PAM roles from the MIM Service.
Syntax
Get-PAMRole
[[-DisplayName] <String>]
[[-Session] <PAMSession>]
[-Active]
[[-Filter] <String>]
[<CommonParameters>]
Description
The Get-PAMRole cmdlet returns zero or more PAM roles from the MIM Service.
Examples
EXAMPLE 1
$r = Get-PAMRole -DisplayName "IT"
Description
This command retrieves a single PAM role with a specified display name from the MIM Service.
Parameters
-Active
Indicates that this cmdlet gets roles with activation requests that are currently active.
Type: | SwitchParameter |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisplayName
Matching value for DisplayName attribute of a PAM role resource in MIM Service.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Filter
Specifies a clause to use in the filter when searching in the MIM Service.
Type: | String |
Position: | 4 |
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: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Microsoft.IdentityManagement.PamCmdlets.Model.PAMRole
Zero or more PAM roles from the MIM Service.