Hi everyone,
I found this scrip that renames a device -- devrename -- and tested it with multiple attributes.
It works with %SERIALNUM% or %MODEL% etc but not with %AUTONUM%
In the Add device rule, the device name can be set upon enrollment of the device based on combination of these attributes. The %AUTONUM% works in the rule but not on the rename script.
Is there a way the %AUTONUM% can be used in renaming a device? My plan is to move the device from a staging folder to a specific folder, run the script to rename the device but it needs to set the AUTONUM so it will increment from the last number.
TEST%MODEL%%AUTONUM% == TESTTC5700886 --> expected result
Thank you in advance.