You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: DomainManagement/en-us/strings.psd1
+1
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,7 @@
190
190
'Resolve-PolicyRevision.Result.Result.SuccessNotYetManaged'='Policy found: {0}. Has not yet been managed, will need to be overwritten.'# $Policy.DisplayName
191
191
'Resolve-PolicyRevision.Result.Success'='Found GPO: {0}. Last export ID: {1}. Last updated on {2}'# $Policy.DisplayName, $result.ExportID, $result.Timestamp
192
192
193
+
'Set-DMContentMode.Error.UnknownExcludedComponent'='Error excluding a Component from the Domain Content Mode. Unexpected Component: {0}. Ensure the Component specified not only exists, but also supports being excluded from Domain Content Mode.'# $pair.Key
193
194
'Set-DMRedForestContext.Connection.Failed'='Failed to connect to {0}'# $Server
194
195
195
196
'Test-DMAccessRule.DefaultPermission.Failed'='Failed to retrieve default permissions from Schema when connecting to {0}'# $Server
Copy file name to clipboardexpand all lines: DomainManagement/functions/system/Set-DMContentMode.ps1
+30-1
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,23 @@
44
44
Whether to remove unknown, undefined WMI Filters.
45
45
Only relevant when defining the WMI Filter component.
46
46
By default, WMI filters defined outside of the configuration will not be deleted if found.
47
+
48
+
.PARAMETERExcludeComponents
49
+
Components to exclude from the Domain Content Mode.
50
+
By including them here, non-configured objects of that type will no longer get deleted.
51
+
(Details may vary, depending on the specific Component. See their respective documentation.)
52
+
53
+
Each entry should use the Component name as Key and a boolean as Value in the hashtable.
54
+
If the value is considered $true, the Component is excluded.
55
+
Settings from multiple configuration sets will be merged, rather than fully replacing the old hashtable with a new one.
56
+
57
+
Supported Components:
58
+
- ACLs: Excluding them will not test only configured values for ownership and inheritance.
59
+
- GPLinks: Excluding them will have it ignore all GPLinks on OUs that have no GP Links configured. OUs with any GP Links defined will be managed as per applicable processing mode.
60
+
- GroupMembership: Excluding them will cause groups that have no membership configuration to be fundamentally ignored.
61
+
- Groups: Excluding them will stop all group deletions other than explicit "Delete" configurations.
62
+
- OrganizationalUnits: Excluding them will stop all OU deletions other than explicit "Delete" configurations.
63
+
- ServiceAccounts: Excluding them will stop all Service Account deletions other than explicit "Delete" configurations.
0 commit comments