I'm looking to create a hostname renaming script for Macbooks deployed across various buildings and sites, and I was thinking I'd be able to use the variables from Jamf to define part of the hostname.
Setting the parameter as $BUILDING doesn't seem to work, it just passes through as "$BUILDING". Is there a way to make this work, or will I have to create a separate profile for each site and assign them to the appropriate Jamf group?