Files
GPOZaurr/Examples/Example-37-GPOPermissionSummary.ps1
T
Przemyslaw Klys ba5a7e1549 Update
2020-10-01 21:35:00 +02:00

11 lines
538 B
PowerShell

Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
# Default Permissions:
# 'GpoApply', 'GpoEdit', 'GPOCustom', 'GpoEditDeleteModifySecurity', 'GPORead'
# If you want to see also owners
# 'GpoOwner'
# If you want to include Root Level Permissions
# 'GpoCustomCreate', 'GpoCustomOwner'
$SummaryPermission = Get-GPOZaurrPermissionSummary -IncludePermissionType 'GPOCustom', 'GpoEdit', 'GpoEditDeleteModifySecurity', 'GpoOwner', 'GpoCustomCreate', 'GpoCustomOwner'
$SummaryPermission | Sort-Object -Property Permission | Format-Table