Requires [dscyml_addsdomain_domainname]
Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Object[] |
List of Organizational Units (OUs) within Active Directory |
|||
Object[] |
List of groups within Active Directory. |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name |
Key |
String |
The name of the Organizational Unit (OU). |
|
Path |
Key |
String |
The name of the Organizational Unit (OU). |
|
ChildOu |
Object[] |
List of Child Organizational Units. |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
GroupName |
Key |
String |
Name of the Active Directory group. |
|
GroupScope |
String |
Active Directory group scope. |
|
|
Category |
String |
Active Directory group category. |
|
|
Path |
String |
Location of the group within Active Directory expressed as a Distinguished Name (DN). |
||
Ensure |
String |
Specifies if this Active Directory group should be present or absent. |
|
AddsOrgUnitsAndGroups:
OrgUnits:
- Name: Admin
Path: DC=contoso,DC=com
ChildOu:
- Name: Groups
- Name: Computers
Groups:
- GroupName: App_123_Read
Path: OU=Groups,OU=Admin
GroupScope: DomainLocal
- GroupName: App_123_Write
Path: OU=Groups,OU=Admin
GroupScope: Global
Datum.yml
(Excerpt)lookup_options:
AddsOrgUnitsAndGroups:
merge_hash: deep
AddsOrgUnitsAndGroups\OrgUnits:
merge_baseType_array: Unique
merge_hash_array: DeepTuple
merge_options:
tuple_keys:
- Name
- Path
AddsOrgUnitsAndGroups\Groups:
merge_baseType_array: Unique
merge_hash_array: DeepTuple
merge_options:
tuple_keys:
- GroupName