Skip to content

Commit 68c2097

Browse files
authored
Update Merge-VHD.md
Cleaned up example details to be more readable.
1 parent f665284 commit 68c2097

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docset/winserver2022-ps/hyper-v/Merge-VHD.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,20 @@ Merge is an offline operation; the virtual hard disk chain must not be attached
3131

3232
### Example 1
3333
```
34-
PS C:\> Merge-VHD -Path c:\test\Child4.vhdx -DestinationPath c:\test\Child2.vhdx
34+
PS C:\> Merge-VHD -Path c:\test\VDisk4.avhdx -DestinationPath c:\test\VDisk2.avhdx
3535
```
3636

37-
This example merges the virtual hard disk from Child4 to Child2, for a virtual disk chain with Child4 as a child of Child3, Child3 as a child of Child2, Child2 as a child of Child1, and Child1 as a child of Parent, and with the virtual hard disk file for each located in c:\test.
38-
This example merges all data from Child4 and Child3 up to Child2.
39-
Child4.vhdx and Child3.vhdx are not deleted, but are no longer valid virtual hard disk files after the operation.
37+
This example merges the virtual hard disk from VDisk4 to VDisk2. It merges all data from VDisk4 and VDisk3, up to VDisk2.
38+
39+
In this virtual hard disk chain VDisk4 is a child of VDisk3, which is a child of VDisk2, which is a child of VDisk1.
40+
41+
Finally, VDisk1 is a child of the Parent virtual hard disk.
42+
43+
In this example, all referenced virtual hard disks reside within C:\test.
44+
45+
46+
47+
The VDisk4.avhdx and VDisk3.avhdx are not deleted, however, they are no longer valid virtual hard disk files after the operation completes.
4048

4149
## PARAMETERS
4250

0 commit comments

Comments
 (0)