+ Numerous bug fixes
+ *Now* _actually_ Python3 ready...
+ Better (actual) support for macOS 11 and newer
+ Updated for Jamf Pro's new icon API
+ Adding logging function for handling output to Policy Logs (level can be dynamically changed)
+ Further improved launchctl functions
+ Additional code improvements
+ Fixed an issue when parsing through accounts passed via argument 4
+ Improved the comparison for local admins and protected admins (made this more reliable/safe)
+ Should prevent accounts with substrings of one another from matching
Some org's prefer to run (potentially) long scripts in a Policy and not during the actual inventory process. This version of the script will support that workflow while also still support being ran from a Jamf Pro Extension Attribute.
Major refactor of logic to add support for new functionality:
* Script can now Replace and Remove existing (matching) Shortcuts
* Renamed Script; mainly as I left it open to support more shortcut types, but probably should just utilize MDM native functionality instead
* Moved chunks of code into functions
- Removed unnecessary code/logic
Major refactor of logic to add support for new functionality:
* Script can now Replace and Remove existing (matching) Shortcuts
* Renamed Script; mainly as I left it open to support more shortcut types, but probably should just utilize MDM native functionality instead
* Moved chunks of code into functions
- Removed unnecessary code/logic
+ Improved logic flow so that the "check if shortcut already exists" is performed before creating the shortcut
* Minor changes to verbosity
* Adjusted line lengths in code
Includes query topics that cover os software details, hardware details, management health, security details, recently enrolled and not managed, and devices not in a Site
Added notes for the following tables:
* computers
* computers_denormalized
* mobile_devices_denormalized
* mobile_device_management_commands
Reorganized tables in alphabetical order.
+ Improved logic when multiple Xcode app bundles are present
* "Acts on" the $latest version found
+ Switched from using `shopt -s nocasemath` to using REGEX in conditionals for case insensitive matching
+ Add some verbosity
* Fixed the script so that it _actually_ works now...
* Been meaning to do this for ages, just have had higher priority items to deal with
* This script is actually used on my AutoPkg Recipe `com.github.mlbz521.pkg.MicrosoftOfficeResetOptions`
* Fixed a bug due to a comparison operation that caused an error when the latest OS supported for a given model was a macOS `10.x` version.
* This bug did not affect the results of the script though.
* Simply reversed the conditional logic to resolve this issue
* Thanks to @allanp81 on the MacAdmins Slack for reporting this
+ Updated Icon maintenance section to make it easier to read
+ Improved overall icon checking logic
+ Deleting icons from VPPs that have been deleted
+ Added logic to delete icons specified by id
+ Hard deleting specific pending MDM Commands records