Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.
Posted: by therealmacjeezy
Product: macOS Sierra
Downloads: 370


This script can be used to rename the Startup Volume based off of the macOS version it has installed.


This script will find the boot volume using the bless command and then get the current volume name for the boot volume using the diskutil command. It will then find the short version of macOS the computer has installed. The reason for this script is so that the startup volume names are uniformed based off of the macOS version they have installed. The variable "newName" is then assigned a string based off of the macOS version installed. This variable is then compaired to the current volume name. If the names do not match, it will automatically rename the startup volume to the correct name.


Generating Preview...