Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Hashtable[] |
List of local groups. |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
GroupName |
Key |
String |
The name of the group to create, modify, or remove. |
|
Ensure |
String |
Indicates if the group should exist or not. |
|
|
Description |
String |
The description the group should have. |
||
Members |
String[] |
The members the group should have. |
||
MembersToInclude |
String[] |
The members the group should include. |
||
MembersToExclude |
String[] |
The members the group should exclude. |
||
Credential |
PSCredential |
A credential to resolve non-local group members. |
Example
LocalGroups:
Groups:
- GroupName: App_123_Read
Description: App Reader
MembersToInclude:
- User01
- User02
MembersToExclude:
- Administrator
Recommended Lookup Options in
Datum.yml
(Excerpt)lookup_options:
LocalGroups:
merge_hash: deep
LocalGroups\Groups:
merge_baseType_array: Unique
merge_hash_array: DeepTuple
merge_options:
tuple_keys:
- GroupName