adminscripts
adminscripts copied to clipboard
Miscellaneous scripts for mac admins
Porting to Python3 and updating required code
Hello, Can you please provide hardware check compatibility scripts for each Big Sur and Monterey. Would like to use them as check install scripts for munki. Thanks a lot and...
This PR adds a script that checks the current machine's compatibility with macOS Big Sur. It has been modelled on and refactors code from the previous check-xx-compatibility scripts. The supported...
The `chrome-enable-autoupdates.py` script has started failing with version 80. It seems that the `install.py` file is no longer provided. Not sure if that's something that can be addressed. ``` install_script...
The correct path is now /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Frameworks/KeystoneRegistration.framework. I don't know python as well, but I was able to figure out that I needed to change the keystone_registration_framework_path() subroutine...
I have set `update_munki_conditional_items` to `True`. I noticed that the file `/Library/Managed Installs/ConditionalItems.plist`was not created after running `managedsoftwareupdate`. The same does happen (or not) when running the GUI. I ran...
When running the [chrome-disable-autoupdates.py](https://github.com/hjuutilainen/adminscripts/blob/master/chrome-disable-autoupdates.py) script on a Mac with the Google keystone agent installed and `removeKeystone` set to `True`, I get the following: ``` $ sudo python chrome-disable-autoupdates.py Error: KeystoneRegistration.framework...
Found out a way to remove all deprecated items at once: ``` shell "$REPOUTIL" --remove-products="${deprecatedProductIDs[@]}" "$1" ``` Removes all deprecated items from the selected branch and rebuilds catalogs only once.