Expand Hyper-V disk after creation in Linux guest system
Just short note about it, as from time to time I need to increase volume size. Part 1 - In host system Get list of VMs Get-VM Turn off the VM. $vmName = "YourVirtualMachineName" Stop-VM -Name "$vmName" Expand the disk Get-VHD -VMName $vmName Resize-VHD -Path "VHD_PATH" -SizeBytes 100GB Check the changes Get-VHD -VMName $vmName Start the VM & connect to VM Start-VM -Name "$vmName" Connect-VM -VMName "$vmName" Part 2 - Inside VM Install guest tools for VM (if it wasn’t done before) ...