Use diskpart in Windows to shrink VHD files

Recently, I had a need to shrink a VHD file.  Ater running the Resize-VHD command with PowerShell, I realized that it would not work unless the Virtual Machine Management service was installed and running.  Instead of performing a Hyper-V install to get this feature, a little research led to diskpart.  It turns out that it […]