Posted on 06-13-2019 06:57 AM
Hi all, the company I work for has a naming convention for all systems.
Laptops are the serial number with a -L
Desktops are the serial number with a -D
I have written a script that handles this. The problem is the name does not update in the jamf pro admin console. Is there a way to make jamf pro pull the name from the computer?
Posted on 06-13-2019 07:05 AM
Easiest way would probably be to use the Jamf binary to update inventory after your script has set the computer name. Add this line below where your script sets the name:
Posted on 06-13-2019 07:09 AM
Thanks, I tried it and it worked. Will add it to the end of my script.
Posted on 09-30-2019 01:01 PM
Are you able to post your script? I have a big deployment coming up and would like to see if I can get this working in my environment too. Thanks.