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

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS