Files
GPOZaurr/Examples/Example-14-ListingGPOsPerOU2.ps1
T
Przemysław Kłys 905cbf44e1 Update examples
2020-04-19 16:38:29 +02:00

7 lines
363 B
PowerShell

Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
Get-GPOZaurrLink -SearchBase 'OU=Domain Controllers,DC=ad,DC=evotec,DC=xyz' | Format-Table -AutoSize
Get-GPOZaurrLink -SearchBase 'OU=Computers,OU=Production,DC=ad,DC=evotec,DC=xyz' | Format-Table -AutoSize
Get-GPOZaurrLink -SearchBase 'DC=ad,DC=evotec,DC=xyz' -SearchScope Base | Format-Table -AutoSize