Automate additions/removals of Test group

Automate additions/removals of Test group

Is there any way to automate the addition and removal of the PCs listed in the Patch Automation Test Group(s)?
              New to ADManager Plus?

                New to ADSelfService Plus?