exchange12rocks / PSGPPreferences

A way to manage Group Policy Preferences through PowerShell
MIT License
35 stars 2 forks source link

New-GPPGroup -DeleteAllUsers or -DeleteAllGroups parameters do not work #26

Closed Borgquite closed 2 years ago

Borgquite commented 2 years ago

Love the module but when trying to use New-GPPGroup with -DeleteAllUsers or -DeleteAllGroups the parameters have no effect.

To replicate, just run: New-GPPGroup -GPOName "TEST GPO" -Update -Name "Administrators" -DeleteAllUsers -DeleteAllGroups

The resultant Group Policy will have 'Delete all member users' and 'Delete all member groups' set to Disabled

exchange12rocks commented 2 years ago

Thank you Chris! I will deal with it soon, hopefully on this weekend

exchange12rocks commented 2 years ago

Could you please check out the dev branch?

Borgquite commented 2 years ago

Yep, dev branch works now :)