Shrink VHD VHDX

From KlavoWiki
Jump to navigationJump to search

Windows Powershell

Optimize-VHD -Path 'C:\ClusterStorage\HyperV Data\Virtual Hard Disks\myserver.vhdx' -Mode Full


Get-VHD -Path 'C:\ClusterStorage\HyperV Data\Virtual Hard Disks\myserver.vhdx'