Hello, I'm trying to figure out how to change the "Hostname" and "Local Hostname" of our fleet of MacBooks to use the Serial number instead of the name of the computer that ends up being the name of the employees, which is not great for privacy and security.
I tried many scripts from Jamf Nation and also Github but can't get any to work.
I don't want to force users to have their computer name using serial number tho, just hostname and localhostname.
Do you guys have a solution for that? Thank you