mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-07-26 20:00:09 +00:00
10 lines
500 B
PowerShell
10 lines
500 B
PowerShell
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
|
|
|
|
# Get basic output DN, CanonicalName, BlockInheritance (True/False)
|
|
#$Objects = Get-GPOZaurrInheritance
|
|
#$Objects | Format-Table
|
|
|
|
# Get same output DN, CanonicalName, BlockInheritance (True/False) + Users/Computers + UsersCount/ComputerCount for those with Blocked Inhertiance
|
|
# This is so you can have a list what machines are affected
|
|
$Objects = Get-GPOZaurrInheritance -IncludeBlockedObjects -OnlyBlockedInheritance
|
|
$Objects | Format-Table |