• Windows Server

    Resize Hyper-V .vhdx To Minimum Size

    A really neat new feature in 2012R2 is that Hyper-V can resize a running virtual machine (.vhdx) to the smallest possible size, while the virtual machine is running. To do so, use Get-VM in PowerShell. Here, we’ll use the -Path option to define the location of our vhdx, the -ToMinimumSize option to indicate that we’d like to shrink it down as low as we can go and -AsJob so it runs in the background: Resize-VHD –Path D:\myVM.vhdx –ToMinimumSize -AsJob

  • VMware,  Windows Server

    Hyper-V: Convert .vhd Files to .vhdx

    The vhdx format provides support for 2 terabyte drives, can difference dynamic disks faster and provides more options for sector sizes. When upgrading into Server 2012, you can migrate your vhd files to vhdx files using Hyper-V Manager. To do so: Open Hyper-V Manager Click on the Action pane from the Action menu Click Edit Disk… At the Edit Virtual Disk Wizard click Next Provide the name of the location for the vhf file Click Next at the Location pane Click Convert at the Choose Action pane Click Next Click the vhdx format at the Choose Disk Format Click Next until the wizard is complete You can also use the…