A tool to split the macOS fleet you manage in Jamf Pro into Static Computer Groups
This script leverages the Jamf Pro API and is to be run on an administrator's mac, it is not meant to be deployed using Jamf Pro. Prompts are used to gather the server details and credentials for the API calls. An API Client/Secret is required to generate the token.
This is useful to batch MDM profile renewals after the Built-in CA renewal for Jamf Pro servers that manage 1000+ computers. The tool also allows you to automatically delete these groups.
An API Role & Client with the following privileges:
Static Computer Groups: Create, Read, Update, Delete
Computers: Read