![]() ![]() While digital tools aim to make our lives easier, how those digital tools use the information we share and the level of privacy and transparency have become one of the defining factors for adoption. usr/local/bin/hubcli notify -t "Intelligent Hub Health Check" -s "Are you getting your apps and configurations timely? Press Reinstall to refresh your services." -a "Reinstall" -b "sh /usr/local/HubCleanup.Privacy is o ne of the hottest topics in the tech world and a concern for most digital users. You can download my Hub rebuild script in my Github and deploy the script below to leverage your product provisioning to potentially let people self-service reinstall the Intelligent Hub. The first one is a bash script you can push down via Scripts or Product Provisioning if you want to force all of your Macs to sync after deploying something new down: #!/bin/shīy deploying this script, you can do a force reprocess and make all of your Macs synchronize. Let’s cover a few nice potential use cases that I came up with. So we have covered the aspects of the MacOS Hub CLI. ![]() Overall its a nice feature to have: Using the MacOS Hub CLI You can use the CLI to list the sensors on your machine and even trigger them if needed. MacOS Sensors are new in Workspace ONE, but the CLI is doing some nice stuff with them to our advantage. Personally, it would have been more useful to use it to remove a profile for testing, but I suppose its somewhat helpful if the device has communication issues. You can basically use it to list all of the profiles installed on your device.įrom there, you can use the Profile IDs to reinstall a profile: The Profiles command is an interesting one, but I’m not sure how useful it will be. An example piece of code can be seen below: sudo /usr/local/bin/hubcli logs -collect -duration 1h -archive /usr/local Hub CLI Profiles The logs command is used to collect logs and send them to a local archive or direct to the console. This is something that I think has some great utility and potential. You can use it to do a device sync or just target apps with the –apps flag. Hub CLI Sync is probably one of the most useful ones. a script that I wrote that removes and reinstalls the hub. One of the way you could use this is to run a bash script that does something e.g. Some example code below: sudo /usr/local/bin/hubcli notify -t "Mobile Jon Rocks!" -actionbtn "Come Find Out!" -script "open -a Safari " -c (Removes the cancel button when you invoke an action button).-a (The action button, which is an action it takes). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |