Is there a way to remove a machine from all static groups?

tomt
Valued Contributor

When reimaging a machine for deployment to a new user it remains in whatever static groups it was in before the reimage. Is there any way (either through a script or the API) to remove a box from all static groups?

It would be nice to be able to do this via a self service policy when a machine is checked back into IT. I know we could just delete the machine from the JSS prior to reimaging but having the location history remain in Inventory for tracking purposes ("who got John's old system?") makes our lives much easier.

Thanks,
TomT

0 REPLIES 0