Author Posts

February 1, 2018 at 11:55 am

Hi,

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?

Thanks
Peter