Resize-VHD (Hyper-V) | Microsoft Docs
docs.microsoft.com › module › hyper-vDescription. The Resize-VHD cmdlet changes the maximum physical size of a virtual hard disk. It can expand both VHD and VHDX files but can shrink only VHDX files. The shrink operation fails if it would shrink the virtual disk to less than its minimum size (available through the VHDX object's MinimumSize property).