Monday, 26 September 2022

Hyper-V Setting

 


































Switch Embedded Teaming (SET):
New-VMSwitch -Name SET -NetAdapterName "Embedded NIC 1","Embedded NIC 2"










Remove "Embedded NIC 1" in Teaming:
Set-VMSwitchTeam -Name SET -NetAdapterName "Embedded NIC 2"

Change LB:
Set-VMSwitchTeam -Name SET -LoadBalancingAlgorithm Dynamic
Set-VMSwitchTeam -Name SET -LoadBalancingAlgorithm HyperVPort

Show Teaming:
Get-VMSwitchTeam -Name SET | FL

Remove Teaming:
Remove-VMSwitch SET

Not Use:
    Set-VMSwitch -Name "Team1" -AllowNetLBFOTEAMS $true -AllowManagementOS $true