Dear friends
I will like to deploy a number (10) of VMs.
I have successfully Sysprep the image and clone it.
Then by means of unattended.xml, I have been able to join it to the domain with the random name assigned.
Here is my problem:
For consistency, the "file name of the VM's are exactly the same": lets say, VM1, VM2, ...VM10. (The name in the AD is anything random as "Asd5678JK".
By means of a Registry look up I can see the assigned File_name and manually script a change_name script.
-------
1) The unattended.xml will not do the second order after the first reboot.
2) I can swap the orders so the name is change but the VM is not added to the domain.
3) IS there any way to do this by means of powershell or a different batch procedure.
Thanks