Skip to main content
Jamf Nation, hosted by Jamf, is a knowledgeable community of Apple-focused admins and Jamf users. If you like what you see, join us in person at the ninth annual Jamf Nation User Conference (JNUC) this October for three days of learning, laughter and IT love.
Posted: by therealmacjeezy
Product: macOS Sierra
Downloads: 65
Download

Synopsis

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

Description

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.

Preview

Generating Preview...