diff --git a/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 b/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 index d69f281..6c6c7ac 100644 --- a/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 +++ b/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 @@ -1,5 +1,16 @@ Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force -#Get-GPOZaurrOrganizationalUnit -Verbose -Option Unlink | Format-Table +#Get-GPOZaurrOrganizationalUnit -Verbose -Option Unlink -Exclusions @( +# 'OU=Groups,OU=Production,DC=ad,DC=evotec,DC=pl' +#) | Format-Table -Invoke-GPOZaurr -Type GPOOrganizationalUnit -Online -FilePath $PSScriptRoot\Reports\GPOZaurrOU.html \ No newline at end of file +#Get-GPOZaurrOrganizationalUnit -Verbose -ExcludeOrganizationalUnit @( +# '*,OU=Production,DC=ad,DC=evotec,DC=pl' +#) | Format-Table + + +Invoke-GPOZaurr -Type GPOOrganizationalUnit -Online -FilePath $PSScriptRoot\Reports\GPOZaurrOU.html -Exclusions @( + '*OU=Production,DC=ad,DC=evotec,DC=pl' + '*OU=Production,DC=ad,DC=evotec,DC=pl' + '*OU=Production,DC=ad,DC=evotec,DC=pl' +) \ No newline at end of file