Helo, we have purchased some DEP macs with Monterey OS for the company. And, have skipped the set-up screens including the location services on the Macs. Now the time zone on the devices is not correct. Manually setting time zone on each mac is tedious. Is there an easy way to do this?
Hi @jude-torres,
Thanks for reaching out to us.
Yes, you can deploy custom scripts from the Hexnode portal to set the time zone on all of your Mac devices. Here is the script:
Script to set time zone on mac
1 2 3 |
#!/bin/sh #!/usr/bin/env bash sudo systemsetup –settimezone $1 |
Replace ‘$1’ with your time zone.
E.g., ‘sudo systemsetup –settimezone Asia/Dili’
Disclaimer:
Please note that the script is obtained from third-party open-source sites. Hence, validating the script execution on a system manually before executing in bulk is recommended. And, Hexnode will not be responsible for any damage/loss to the system due to the script’s behavior.
Hope this helps.
Thanks
Evin Lee
Hexnode UEM
31 March 2022