Files
GPOZaurr/Examples/Example-18-ListInconsistenciesACLAdvanced.ps1
T
Przemyslaw Klys 3ff20afe30 Updated examples
2020-05-14 13:26:27 +02:00

9 lines
504 B
PowerShell

Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
#Get-GPOZaurrPermissionConsistency -Type All -Forest 'test.evotec.pl' | Format-Table
$Output = Get-GPOZaurrPermissionConsistency -GPOName 'Default Domain Controllers Policy' -IncludeDomains 'ad.evotec.xyz' -VerifyInside
$Output | Format-Table DisplayName, DomainName, ACLConsistent, ACLConsistentInside
$Output.ACLConsistentInsideDetails | Format-Table
$Output = Get-GPOZaurrPermissionConsistency -VerifyInside -Type 'All'
$Output | Format-Table