Posted on 07-26-2022 01:50 PM
Hi,
I am trying to create a naming script for computers in my organization based on the inventory preload /Asset Tag field. The goal is to have the computer name be set based on the serial number.
i.e.. If serial is 12345 then name be set to COMP-ID-01
Thanks,
07-26-2022 11:20 PM - edited 07-27-2022 09:11 PM
Posted on 07-27-2022 05:32 PM
Try using the Jamf setComputerName command.
While it doesn't explicitly give you the ability to pull from the asset tag field, it does let you Pull the data from a CSV file.