{{AppVeyor build status badge for master branch}}
The GroupPolicyDsc module contains DSC resources for configuring Group Policy.
Please check out common DSC Resources contributing guidelines.
- GPInheritance blocks or unblocks inheritance for a specified domain or organizational unit (OU).
- GPOImport imports the Group Policy settings from a backed-up GPO into a new GPO. It won't import settings into an existing GPO.
- GPOLink links a GPO to a site, domain, or organizational unit (OU).
- Target: Specifies the domain or the OU for which to block or unblock inheritance by its LDAP distinguished name. You can also leave off the domain part of the distinguished name and it will be generated automatically. See the example below.
- Domain: Optional. Specifies the domain to run against.
- Server: Optional. Specifies the name of the domain controller that this resource contacts to complete the operation. You can specify either the fully qualified domain name (FQDN) or the host name.
- Ensure: Whether inheritance should be blocked (Absent) or unblocked (Present). Defaults to Present.
- TargetName: Specifies the display name of the GPO into which the settings are to be imported.
- Path: Specifies the path to the backup directory.
- BackupIdentity: Specifies the display name or backup ID of the backed-up GPO from which to import the settings.
- BackupIdentityType: Specifies the type of the BackupIdentity (Name or Guid). Defaults to Name.
- Domain: Optional. Specifies the domain to run against.
- MigrationTable: Specifies the path to a migration table file.
- Server: Optional. Specifies the name of the domain controller that this resource contacts to complete the operation. You can specify either the fully qualified domain name (FQDN) or the host name.
- Ensure: Must be Present. Defaults to Present.
- Identity: Specifies the GPO to link by its display name or GUID.
- IdentityType: Specifies the type of the Identity (Name or Guid). Defaults to Name.
- Target: Specifies the LDAP distinguished name of the site, domain, or OU to which to link the GPO. You can also leave off the domain part of the distinguished name and it will be generated automatically. See the example below.
- Domain: Optional. Specifies the domain to run against.
- Enforced: Specifies whether the GPO link is enforced. You can specify Yes or No. Defaults to No.
- LinkEnabled: Specifies whether the GPO link is enabled. You can specify Yes or No. Defaults to Yes.
- Order: Specifies the link order for the GPO link. You can specify a number that is between one and the current number of GPO links to the target site, domain, or OU, plus one.
- Server: Optional. Specifies the name of the domain controller that this resource contacts to complete the operation. You can specify either the fully qualified domain name (FQDN) or the host name.
- Ensure: Whether the GPO Link should exist (Present) or not (Absent). Defaults to Present.
- Initial release with the following resources:
- GPInheritance
- GPOImport
- GPOLink