Suggestion for Add-VMNewHardDisk (-wait)

Apr 6, 2009 at 9:43 AM

First of all I would like to say 'thank you' for this fantastic library. It makes staging new Hyper-V VMs much easier.

I ran into an issue where my VMs were not fully configured when the automated OS installation started. The problem is basically that Add-VMNewHardDisk when called with -fixed takes quite a while for larger disks. I work around the issue by using New-Vhd -fixed -wait

I would like to suggest adding a -wait switch to Add-VMNewHardDisk which is then passed to New-Vhd

Lars Norman Søndergaard
Apr 24, 2009 at 6:55 AM
Thanks, I've made that change and it will appear in the 1.0c version