Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Hashtable[] |
List of users to create. |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
UserName |
Key |
String |
Specifies the Security Account Manager (SAM) account name of the user (ldapDisplayName 'sAMAccountName'). |
|
Password |
PSCredential |
Specifies a new password value for the account. |
||
Ensure |
String |
Specifies whether the user account should be present or absent. |
|
|
CommonName |
String |
Specifies the common name assigned to the user account (ldapDisplayName 'cn'). |
||
DisplayName |
String |
Specifies the display name of the object (ldapDisplayName 'displayName'). |
||
UserPrincipalName |
String |
Specifies the User Principal Name (UPN) assigned to the user account (ldapDisplayName 'userPrincipalName'). |
AddsDomainUsers:
Users:
- UserName: test1
Password: '[ENC=PE9ianM...=]'
- UserName: test2
Password: '[ENC=PE9ianM...=]'