Summary:
Naming Scheme Tokens don't work when using the :-n token without defining a :wX:Y token
Steps to Reproduce:
If you run rocketman RenameComputer --computerName %=UDID:-7% it returns the result Data info doesn't have =UDID:-7 information
If you run rocketman RenameComputer --computerName %=UDID:w1:-7% it is able to change the name
Also, if you run rocketman RenameComputer --computerName %=UDID:7% or rocketman RenameComputer --computerName %=UDID:=7% it renames the computer correctly
Environment:
- Tool/Platform: RCC - Computer Rename Tool
- Tool/Platform Version: 1.0.51
- OS Version: 15.4.1
Additional Context:
You can test this locally on your computer easily to replicate the issue.
Summary:
Naming Scheme Tokens don't work when using the
:-ntoken without defining a:wX:YtokenSteps to Reproduce:
If you run
rocketman RenameComputer --computerName %=UDID:-7%it returns the resultData info doesn't have =UDID:-7 informationIf you run
rocketman RenameComputer --computerName %=UDID:w1:-7%it is able to change the nameAlso, if you run
rocketman RenameComputer --computerName %=UDID:7%orrocketman RenameComputer --computerName %=UDID:=7%it renames the computer correctlyEnvironment:
Additional Context:
You can test this locally on your computer easily to replicate the issue.