I have a procedure put together for renaming Mac clients


Basically the script asks for a name and then goes off and sets it in various places on the mac.

What I want to do now is apply this accross a selection of machines where the machine name increases by a value per machine.


for example...


Machine 1 = CLI-001

Machine 2 = CLI-002

Machine 3 = CLI-003


So the number increases by one each time, is this possible?