March 2020

We are preparing for the migration from Hyper-V to VMware. I am collecting all information before migration. One of the tasks was to collect all the VHDs information and this is how I did it. Get-VM -ComputerName (Get-ClusterNode) | ForEach-Object {Get-VHD -ComputerName $_.ComputerName -VMId $_.VMId} | Select -Property Path, VhdFormat,VhdType,@{label=’Size(GB)’;expression={$_.filesize/1gb…