Hello, I have two problems. They are different but will be related.
I have a .csv file that has:
SerialNumber, CPSD-12345
The first issue is that running the set computer name script is adding quotes around the name. i.e. "CPSD-12345" is presented instead of CPSD-12345
The second problem I have is asset tag assignment. because this .csv file is already present locally on the computer. I would like to run a script that would read from this file and remove the CPSD- and only leave the asset tag to be run. I have researched and have come up short. Any direction in this would be so helpful. My grep skills aren't up to par.
