chocolatey / ChocoCCM

PowerShell module for interacting with Chocolatey Central Management
Apache License 2.0
9 stars 8 forks source link

Add `Set-CCMGroup` Cmdlet #49

Open steviecoaster opened 3 years ago

steviecoaster commented 3 years ago

Being able manage CCM Groups from the API is great. Right now we have Add and Remove, which is great for net-new groups, and removal of existing groups.

What we currently lack is maintaining existing groups. Enter Set-CCMGroup. This cmdlet would allow a user to pipe data from an external system into this cmdlet, and either Add or Remove group memberships, etc.

vexx32 commented 3 years ago

A straight Set-CcmGroup command will probably get unwieldy if you're doing small changes to group memberships, especially if you're adding/removing members from a very large group.

I'd suggest also having Add-CcmGroupMember and Remove-CcmGroupMember cmdlets to complement this.

steviecoaster commented 3 years ago

Those already exist, this is the next phase in that progression!