Hi folks,
I have dynamically expanding vhd. Now I want to convert it to fixed size vhd.
I used the Convert-VHD cmdlet, which works fine.
But if I give the source and want to overwrite my dynamic vhd to the fixed vhd, it is throwing error, such the file exists.
Convert-VHD –Path "\path\to\vhd\mydata.vhd" –DestinationPath "\path\to\vhd\mydata.vhd" -VHDType Fixed -DeleteSource
Is there any other option (like -Force) available for this ?
Note: Without using a temp file and renaming, I hope we have a better solution
Thanks,
Saleem