156k views
5 votes
You are using differencing disks for multiple virtual machines (VMs) to preserve the parent image from changes. Now you want to combine the two images together. What PowerShell cmdlet allows you to do this?

User Butiri Dan
by
8.1k points

1 Answer

6 votes

Final answer:

To merge differencing disks with the parent image in PowerShell, the cmdlet used is "Merge-VHD". This operation consolidates the differencing disk changes into the parent VHD.

Step-by-step explanation:

When working with virtual machines (VMs) using differencing disks, a common task may be to merge these disks with the parent image. To combine or merge the differencing disk with its parent disk in PowerShell, the cmdlet you would use is Merge-VHD . This cmdlet allows you to consolidate the changes captured in the differencing disk back into the parent VHD file. Before doing this, make sure the VMs relying on the differencing disks are turned off. After merging, you will have a single VHD that incorporates all the changes.

User Emazzotta
by
8.0k points