I am using the New-SCVirtualMachine cmdlet to create a virtual machine from a template, which is working well. The only issue I have is that the name of the hard disk in the template is generic (_template_2016_disk_1.vhdx) and when I create the VM the name of the virtual hard disk is the same. I would like the name to be more relevant, such as servername_disk_1.vhdx.
Is there any way of doing this?
You must be logged in to reply to this topic.