diff --git a/Examples/Example-29-FindGPO1.ps1 b/Examples/Example-29-FindGPO1.ps1 index d52d986..0622b56 100644 --- a/Examples/Example-29-FindGPO1.ps1 +++ b/Examples/Example-29-FindGPO1.ps1 @@ -1,5 +1,13 @@ Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force + +#$O = Invoke-GPOZaurrContent -GPOName "Test-RestrictedGroups" -Verbose +#$O + +Invoke-GPOZaurr -Online -Type GPOBroken, GPOBrokenLink -Verbose -SplitReports + +return + #$Output = Invoke-GPOZaurrContent -GPOPath 'C:\Support\GitHub\GpoZaurr\Ignore\GPODefender' $Output = Invoke-GPOZaurrContent -GPOPath 'C:\Support\GitHub\GpoZaurr\Ignore\GPOExport' -Type WindowsHelloForBusiness $Output | Format-Table diff --git a/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 b/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 index 789e418..9fa4ae0 100644 --- a/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 +++ b/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 @@ -3,6 +3,8 @@ $OUs = Get-GPOZaurrOrganizationalUnit $Ous | Format-Table +return + Get-GPOZaurrOrganizationalUnit -Verbose -Option Unlink -Exclusions @( 'OU=Groups,OU=Production,DC=ad,DC=evotec,DC=pl' ) | Format-Table