Add-PAMSetMember
Adds a PAM user(s) to a PAM set(s) explicied members in the MIM Service.
Syntax
Default (Default)
Add-PAMSetMember
[-Set] <PAMSet[]>
[-User] <PAMUser[]>
[<CommonParameters>]
Description
Adds a PAM user(s) to a PAM set(s) explicied members in the MIM Service.
Examples
EXAMPLE 1
Add-PAMSetMember -Set (Get-PAMSet -ObjectId 31bcec38-ca53-4490-b8c2-572378360d2b) -User (Get-PAMUser)
This command adds all PAM users to the specified set (system predefined set 'PAM Admin').
Parameters
-Set
The set(s) into which to add, returned by Get-PAMSet.
Parameter properties
Type: | PAMSet[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-User
The user(s) to add, returned by Get-PAMUser.
Parameter properties
Type: | PAMUser[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 2 |
Mandatory: | True |
Value from pipeline: | True |
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.