12 October 2022

Hyper-v - modify maximum simultaneous live migrations / storage migrations

 

Get-SCVMHostCluster | Select-Object -ExpandProperty nodes | Select-Object name | % {Set-VMHost -ComputerName $PSItem.Name -MaximumStorageMigrations 2 -MaximumVirtualMachineMigrations 2 }



Get-SCVMHostCluster | Select-Object -ExpandProperty nodes | Select-Object name | % {Get-VMHost -C\omputerName $PSItem.Name } | Format-Table -AutoSize Name, MaximumStorageMigrations, MaximumVirtualMachineMigrations

No comments:

Post a Comment