Merging a differencing VHDX and it's parent to a new disk using powershell


hi,

i'm trying figure out how use powershell merge differencing disk it's parent, store result in new vhdx.

using "edit disk" wizard possible: on "configure disk" page can select "to new virtual hard disk".

however, using "merge-vhd" cmdlet in powershell not possible achive same...

when try

merge-vhd -path differencing.vhdx -destinationpath new.vhdx

i following error:

merge-vhd : new.vhdx not existing virtual hard disk file

can point me in right direction please? when it's possible in gui, there has be a way achive same  goal in powershell...

thanks

christian

-destinationpath refers child in tree, not different vhdx.

try copying .vhd/.avhd files new location.  perform merge , rename.


. : | : . : | : . tim



Windows Server  >  Hyper-V



Comments

Popular posts from this blog

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Group policy default policy cannot be edited because network name not found

Problem when changing update source