I would like help from the community to create a script to rename a computer for sysprep the following format example is below. The script to needs to have a predefined characters at the beginning followed by a prompt to user to add 1 character and the final step would be to append the PC serial number please see example.
Computer Name: ABC?%SERIALNUMBER%
The predefine character would be (WIN7L or WIN7D) at the beginning
The user would be a prompt to enter the letter L or D (This is to determine WIN7=Laptop or WIN7D=Desktop)
The final step would be to add computer serial number after the selection by the user.