How to convert VHDX file to VHD

How to convert VHDX file to VHD

Open Powershell in admin mode and type the following command while the VM is powered is turned  off

Convert-VHD -Path “e:\folder\disk.vhdx” -DestinationPath “e:\folder\disk.vhd”