Note: This question is part of a series of
questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only t
o that question.
You have an Active Directory domain that contains two Hyper-V servers named Server1 and Server2. Server1 has Windows Server 2016 installed. Server2 has Windows Server 2012 R2 installed.
Each Hyper-V server has three network cards. Each n
etwork card is connected to a different subnet. Server1 contains a dedicated migration network.
Server2 contains a virtual machine named VM5.
You plan to perform a live migration of VM5 to Server1.
You need to ensure that Server1 uses all available
networks to perform the live migration of VM5.
What should you run?
A. the
Mount-VHD
cmdlet
B. the
Diskpart
command
C. the
Set-VHD
cmdlet
D. the
Set-VM
cmdlet
E. the
Set-VMHost
cmdlet
F. the
Set-VMProcessor
cmdlet
G. the
Install-WindowsFeature
cmdlet
H.
the
Optimize-VHD
cmdlet
Explanation:
Set-VMHost -UseAnyNetworkForMigration
Specifies how networks are selected for incoming live migration traffic. If set to $True, any available network on the host can be used for this traffic. If set to
$False, incoming live migration traffic is transmitted only on the networks specified in the MigrationNetworks property of the host.
PS C:\> Set-VMHost -UseAnyNetworkForMigration $true
This example enables the use of any network for incoming live migratio
ns on the local Hyper-V host.
References:
https://technet.microsoft.com/en-us/library/hh848524.aspx
https://docs.microsoft.com/en-us/powershell/module/hyper-v/set-vmhost?view=win10-ps