You have a Hyper-V host named Server1 that runs Windows Server 2016. Server1 has two virtual machines named VM1 and VM2.
You discover that VM1 and VM2 can co
mmunicate with Server1 over the network.
You need to ensure that VM1 and VM2 can communicate with each other only. The solution must prevent VM1 and VM2 from communicating with Server1.
Which cmdlet should you use?
A.
Enable-VMSwitchExtention
B.
Set-Net
Neighbor
C.
Set-VMSwitch
D.
Remove-VMSwitchTeamMember
Explanation:
The virtual switch needs to be configured as an -Private- switch.
Explanation/Reference: Explanation:
PS C:\> Set-VMSwitch WA -SwitchType Private
This example converts a virtual
switch named WA to an Private switch.
-SwitchType
Converts a virtual switch from one type to another. Allowed values are Internal or Private.
The virtual switch needs to be configured as an -Private- switch.