From 68c2097cf0bd2853ce39f52ace26098f2f47244f Mon Sep 17 00:00:00 2001 From: jodeffen <153466573+jodeffen@users.noreply.github.com> Date: Wed, 10 Jan 2024 17:11:06 -0500 Subject: [PATCH 1/3] Update Merge-VHD.md Cleaned up example details to be more readable. --- docset/winserver2022-ps/hyper-v/Merge-VHD.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docset/winserver2022-ps/hyper-v/Merge-VHD.md b/docset/winserver2022-ps/hyper-v/Merge-VHD.md index 45e3d3d8cf..c7e05d744a 100644 --- a/docset/winserver2022-ps/hyper-v/Merge-VHD.md +++ b/docset/winserver2022-ps/hyper-v/Merge-VHD.md @@ -31,12 +31,20 @@ Merge is an offline operation; the virtual hard disk chain must not be attached ### Example 1 ``` -PS C:\> Merge-VHD -Path c:\test\Child4.vhdx -DestinationPath c:\test\Child2.vhdx +PS C:\> Merge-VHD -Path c:\test\VDisk4.avhdx -DestinationPath c:\test\VDisk2.avhdx ``` -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. -This example merges all data from Child4 and Child3 up to Child2. -Child4.vhdx and Child3.vhdx are not deleted, but are no longer valid virtual hard disk files after the operation. +This example merges the virtual hard disk from VDisk4 to VDisk2. It merges all data from VDisk4 and VDisk3, up to VDisk2. + +In this virtual hard disk chain VDisk4 is a child of VDisk3, which is a child of VDisk2, which is a child of VDisk1. + +Finally, VDisk1 is a child of the Parent virtual hard disk. + +In this example, all referenced virtual hard disks reside within C:\test. + + + +The VDisk4.avhdx and VDisk3.avhdx are not deleted, however, they are no longer valid virtual hard disk files after the operation completes. ## PARAMETERS From 7dff8783f97b92e2412496e720d0f1a28c50e9e4 Mon Sep 17 00:00:00 2001 From: jodeffen <153466573+jodeffen@users.noreply.github.com> Date: Wed, 10 Jan 2024 17:22:01 -0500 Subject: [PATCH 2/3] Update Merge-VHD.md --- docset/winserver2022-ps/hyper-v/Merge-VHD.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docset/winserver2022-ps/hyper-v/Merge-VHD.md b/docset/winserver2022-ps/hyper-v/Merge-VHD.md index c7e05d744a..6058dd40ed 100644 --- a/docset/winserver2022-ps/hyper-v/Merge-VHD.md +++ b/docset/winserver2022-ps/hyper-v/Merge-VHD.md @@ -42,8 +42,6 @@ Finally, VDisk1 is a child of the Parent virtual hard disk. In this example, all referenced virtual hard disks reside within C:\test. - - The VDisk4.avhdx and VDisk3.avhdx are not deleted, however, they are no longer valid virtual hard disk files after the operation completes. ## PARAMETERS From 5ef09d9a4552bab65e7fe518404e268ec8e97116 Mon Sep 17 00:00:00 2001 From: jodeffen <153466573+jodeffen@users.noreply.github.com> Date: Tue, 5 Mar 2024 11:05:55 -0500 Subject: [PATCH 3/3] Update docset/winserver2022-ps/hyper-v/Merge-VHD.md Co-authored-by: Sean Wheeler --- docset/winserver2022-ps/hyper-v/Merge-VHD.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docset/winserver2022-ps/hyper-v/Merge-VHD.md b/docset/winserver2022-ps/hyper-v/Merge-VHD.md index 6058dd40ed..14da69edf4 100644 --- a/docset/winserver2022-ps/hyper-v/Merge-VHD.md +++ b/docset/winserver2022-ps/hyper-v/Merge-VHD.md @@ -34,15 +34,13 @@ Merge is an offline operation; the virtual hard disk chain must not be attached PS C:\> Merge-VHD -Path c:\test\VDisk4.avhdx -DestinationPath c:\test\VDisk2.avhdx ``` -This example merges the virtual hard disk from VDisk4 to VDisk2. It merges all data from VDisk4 and VDisk3, up to VDisk2. +This example merges the virtual hard disk from VDisk4 to VDisk2. It merges all data from VDisk4 and +VDisk3, up to VDisk2. In this virtual hard disk chain VDisk4 is a child of VDisk3, which is a child +of VDisk2, which is a child of VDisk1. Finally, VDisk1 is a child of the Parent virtual hard disk. -In this virtual hard disk chain VDisk4 is a child of VDisk3, which is a child of VDisk2, which is a child of VDisk1. - -Finally, VDisk1 is a child of the Parent virtual hard disk. - -In this example, all referenced virtual hard disks reside within C:\test. - -The VDisk4.avhdx and VDisk3.avhdx are not deleted, however, they are no longer valid virtual hard disk files after the operation completes. +In this example, all referenced virtual hard disks reside within `C:\test`. The `VDisk4.avhdx` and +`VDisk3.avhdx` are not deleted, however, they are no longer valid virtual hard disk files after the +operation completes. ## PARAMETERS