From a17dfd5b0f6b78fe6663cb77e8e40a03906135ea Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Mon, 17 Mar 2025 15:45:21 -0600 Subject: [PATCH] Update Workflows/Windows/Delete Windows Recovery Partition.md --- Workflows/Windows/Delete Windows Recovery Partition.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Workflows/Windows/Delete Windows Recovery Partition.md b/Workflows/Windows/Delete Windows Recovery Partition.md index 65d0d9f..e862d9f 100644 --- a/Workflows/Windows/Delete Windows Recovery Partition.md +++ b/Workflows/Windows/Delete Windows Recovery Partition.md @@ -1,6 +1,8 @@ **Purpose**: Sometimes you are running a virtual machine and are running out of space, and want to expand the operating system disk. However, there is a recovery partition to-the-right of the operating system partition. When this happens, you have to delete that partition in order to expand the storage space for the operating system. +These commands can be run in a headless environment using just powershell. + **From within the VM** > Open a powershell window and run the following commands: ```powershell diskpart # (1) @@ -25,7 +27,7 @@ exit # (9) 9. Gracefully close the disk management CLI utility. ## Free Space Validation -From this point, you might want to triple-check the free space has been accounted for, so you can run the following command to check for free space: +From this point, you might want to verify the free space has been accounted for, so you can run the following command to check for free space: ```powershell Get-Volume | Select-Object DriveLetter, FileSystem, @{Name="FreeSpace(GB)"; Expression={"{0:N2}" -f ($_.SizeRemaining / 1GB)}}, @{Name="TotalSize(GB)"; Expression={"{0:N2}" -f ($_.Size / 1GB)}} ```