Which two commands should you run from Windows PowerShell?

Your network contains an Active Directory domain named adatum.com. The domain contains a member server
named Host1. Host1 runs Windows Server 2012 R2 and has the Hyper-V server role installed.
Host1 hosts two virtual machines named VM5 and VM6. Both virtual machines connect to a virtual switch
named Virtual1.
On VM5, you install a network monitoring application named Monitor1.
You need to capture all of the inbound and outbound traffic to VM6 by using Monitor1.
Which two commands should you run from Windows PowerShell? (Each correct answer presents part of the
solution. Choose two.)

Your network contains an Active Directory domain named adatum.com. The domain contains a member server
named Host1. Host1 runs Windows Server 2012 R2 and has the Hyper-V server role installed.
Host1 hosts two virtual machines named VM5 and VM6. Both virtual machines connect to a virtual switch
named Virtual1.
On VM5, you install a network monitoring application named Monitor1.
You need to capture all of the inbound and outbound traffic to VM6 by using Monitor1.
Which two commands should you run from Windows PowerShell? (Each correct answer presents part of the
solution. Choose two.)

A.
Get-VM “VM6” | Set-VMNetworkAdapter-IovWeight 1

B.
Get-VM “VM5” | Set-VMNetworkAdapter -IovWeight 0

C.
Get-VM “VM6” | Set-VMNetworkAdapter -PortMirroring Source

D.
Get-VM “VM6” | Set-VMNetworkAdapter -AllowTeaming On

E.
Get-VM “VM5” | Set-VMNetworkAdapter -PortMirroring Destination

F.
Get-VM “VM5” | Set-VMNetworkAdapter -AllowTeaming On

Explanation:
-PortMirroring specifies the port mirroring mode for the network adapter. This can be set to None, Source, and
Destination.
In this scenario, VM5 is the destination which must receive a copy of the network packets from VM6, which s
the source.



Leave a Reply 0

Your email address will not be published. Required fields are marked *