Quantcast
Viewing all articles
Browse latest Browse all 189012

Re: Script to Remove HDDs other than HDD1 from VM and re-add it back.

Gotcha, misread that.  What is the error you get on the new-harddisk?

 

Try passing just the variable with out the quotes and curly braces {" "}

New-HardDisk -VM $vmname -DiskPath $HDDfile.Filename


Viewing all articles
Browse latest Browse all 189012

Trending Articles