diff --git a/Examples/Example-50-RemoveLinkFromEmptyOU.ps1 b/Examples/Example-50-RemoveLinkFromEmptyOU.ps1 new file mode 100644 index 0000000..e081dff --- /dev/null +++ b/Examples/Example-50-RemoveLinkFromEmptyOU.ps1 @@ -0,0 +1,3 @@ +Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force + +Remove-GPOZaurrLinkEmptyOU -WhatIf -Verbose \ No newline at end of file diff --git a/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 b/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 new file mode 100644 index 0000000..aaa3f9a --- /dev/null +++ b/Examples/Example-51-FindEmptyOUsWithGPOLinks.ps1 @@ -0,0 +1,5 @@ +Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force + +Get-GPOZaurrOrganizationalUnit -Verbose -Option Unlink | Format-Table + +Invoke-GPOZaurr -Type GPOOrganizationalUnit -Online -FilePath $PSScriptRoot\Reports\GPOZaurrOU.html