This commit is contained in:
Przemysław Kłys
2020-04-09 19:55:46 +02:00
parent 9a1e445083
commit 7394c7b5cc
7 changed files with 153 additions and 21 deletions
@@ -0,0 +1,7 @@
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
# By default it deletes WMI filter in $Env:USERDNSDOMAIN if no Forest/IncludeDomains/ExcludeDomains are specified
Remove-GPOZaurrWMI -Name 'Test' -WhatIf
# If we want to remove it from all domains within forest
Remove-GPOZaurrWMI -Name 'Test' -Forest 'ad.evotec.xyz' -WhatIf