Working with virtual disks

There are several configuration options for virtual hard disks, starting from the disks format. Hyper-V supports, currently, the classic VHD format and the newer VHDX format. VHDX disks are preferable in many ways, starting with their increased size, up to 64 TB, over their better performance and reliability options, and to their better management capabilities such as resizing the disks both ways. The only reason to use VHD files now is their backwards compatibility with Hyper-V versions prior to 2012. If you don't need this, don't use VHD files. If you are still using VHD files, convert them via PowerShell when in the offline state:

Convert-VHD -Path d:\VM01.vhd 
   -DestinationPath d:\VM01.vhdx

After setting the format ...

Get Hyper-V 2016 Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.