Files
GPOZaurr/Examples/Example-24-Links02.ps1
Przemyslaw Klys 6ffa7585c1 Update
2020-06-16 20:27:51 +02:00

12 lines
267 B
PowerShell

Clear-Host
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
$Report = Get-GPOZaurrLinkSummary -Report OneLink
$Report | Format-Table
$AffectedGPOs = foreach ($GPO in $Report) {
if ($GPO.Level1 -gt 1) {
$GPO
}
}
$AffectedGPOs | Format-Table *