diff --git a/Examples/Example-17-RepairInconsistentACL.ps1 b/Examples/Example-17-RepairInconsistentACL.ps1 index e567c92..f7fe78d 100644 --- a/Examples/Example-17-RepairInconsistentACL.ps1 +++ b/Examples/Example-17-RepairInconsistentACL.ps1 @@ -2,4 +2,4 @@ Get-GPOZaurrPermissionConsistency -GPOName 'Default Domain Controllers Policy' -IncludeDomains 'ad.evotec.xyz' -Repair-GPOZaurrPermissionConsistency -GPOName 'Default Domain Controllers Policy' -IncludeDomains 'ad.evotec.xyz' -Verbose #-WhatIf -Verbose \ No newline at end of file +Repair-GPOZaurrPermissionConsistency -GPOName 'Default Domain Controllers Policy' -IncludeDomains 'ad.evotec.xyz' -Verbose -WhatIf \ No newline at end of file diff --git a/Examples/Example-17-RepairInconsistentACLAll.ps1 b/Examples/Example-17-RepairInconsistentACLAll.ps1 index 7e8f6fa..74ac4e0 100644 --- a/Examples/Example-17-RepairInconsistentACLAll.ps1 +++ b/Examples/Example-17-RepairInconsistentACLAll.ps1 @@ -1,5 +1,5 @@ Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force -Get-GPOZaurrPermissionConsistency -Type All | Format-Table +Get-GPOZaurrPermissionConsistency -Type All -VerifyInheritance | Format-Table Repair-GPOZaurrPermissionConsistency -LimitProcessing 2 -WhatIf -Verbose \ No newline at end of file