The Get-PAMUser cmdlet returns users from the MIM Service which optionally match filter conditions.
This array of users can be provided to the New-PAMRole or Set-PAMRole cmdlet assigned as candidate users.
Examples
EXAMPLE 1
$sj = Get-PAMUser -SourceDisplayName "Jen"
Returns the users in the MIM Service which have the display name attribute in the source domain with value of "Jen".
Parameters
-Filter
Specifies a clause to use in the filter when searching in the MIM Service.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
6
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-PrivDisplayName
Matching value for the DisplayName of the user in the PAM domain.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
4
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Session
Session with the PAM domain and MIM Service.
Parameter properties
Type:
PAMSession
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
5
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-SourceAccountName
Matching value for the AccountName attribute of a user resource in MIM Service.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
3
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-SourceDisplayName
Matching value for DisplayName attribute of a user resource in MIM Service.
Parameter properties
Type:
String
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
-SourceDomain
Matching value for the Domain attribute of a user resource in MIM Service.
Parameter properties
Type:
String
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
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.