I have a need to define new VM's without a harddisk and I was going to add them later with the New-Harddisk function. The problem is that when the New-VM is executed it creates a default virtual disk and I can't find a remove hard disk cmdlet. How can I remove a harddisk using PowerShell?
Have a look at the remove-HD function in
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Have a look at the remove-HD function in
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks. the function was exactly what I needed.