Your network contains an Active Directory domain named contoso.com. The domain contains a
member server named HVServer1. HVServer1 runs Windows Server 2012 R2 and has the Hyper-V
server role installed.
HVServer1 hosts two virtual machines named Server1 and Server2. Both virtual machines connect to
a virtual switch named Switch1.
On Server2, you install a network monitoring application named App1.
You need to capture all of the inbound and outbound traffic to Server1 by using App1.
Which two commands should you run from Windows PowerShell? (Each correct answer presents
part of the solution. Choose two.)
A.
Get-VM “Server2” | Set-VMNetworkAdapter -IovWeight 1
B.
Get-VM “Server1” | Set-VMNetworkAdapter -Allow/Teaming On
C.
Get-VM “Server1” | Set-VMNetworkAdapter -PortMirroring Source
D.
Get-VM “Server2” | Set-VMNetworkAdapter -PortMirroring Destination
E.
Get-VM “Server1” | Set-VMNetworkAdapter -IovWeight 0
F.
Get-VM “Server2” | Set-VMNetworkAdapter-AllowTeaming On
Explanation:
Note:
* Get-VM will get the virtual machines from one or more Hyper-V hosts.
-ComputerName<String[]> is used to specify one or more Hyper-V hosts from which virtual machines
are to be retrieved. NetBIOS names, IP addresses, and fully-qualified domain names are allowable.
The default is the local computer — use “localhost” or a dot (“.”) to specify the local computer
explicitly.
* Set-VMNetworkAdapter is used to configure features of the virtual network adapter in a virtual
machine or the management operating system.
-PortMirroring<VMNetworkAdapterPortMirroringMode> is used to specify the port mirroring mode
for the network adapter to be configured.
With Port Mirroring, traffic sent to or from a Hyper-V Virtual Switch port is copied and sent to a
mirror port. There are a range of applications for port mirroring – an entire ecosystem of network
visibility companies exist that have products designed to consume port mirror data for performance
management, security analysis, and network diagnostics. With Hyper-V Virtual Switch port mirroring,
you can select the switch ports that are monitored as well as the switch port that receives copies of
all the traffic.
References:
http://technet.microsoft.com/en-us/library/jj679878.aspx