PrepAway - Latest Free Exam Questions & Answers

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 VMS 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.)

PrepAway - Latest Free Exam Questions & Answers

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

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

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

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

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

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

Explanation:
The questions states you need to capture all traffic going to and from VM6, using VM5.

Get-VM “VM5” | Set-VMNetworkAdapter -PortMirroring Destination (<—- Not source as VM5
is the destination for the monitor)
And
Get-VM “VM6” | Set-VMNetworkAdapter -PortMirroring Source (<—- Not destination as
we’re monitoring VM6 not collecting with it)

10 Comments on “Which two commands should you run from Windows PowerShell?

  1. itsMe says:

    Get-VM “VM5” | Set-VMNetworkAdapter -portmirroring Destination

    If a virtual network adapter is configured as Destination, it receives copied packets from the source virtual network adapter

    The question asks you need to CAPTURE all inbound and outbound packets, so you need the data to COME to VM5. Thats why you need to set as Destination

    Get-VM “VM6” | Set-VMNetworkAdapter -portmirroring Source

    If a virtual network adapter is configured as Source, every packet it sends or receives is copied and forwarded to a virtual network adapter configured to receive the packets.




    0



    0
  2. Kaye says:

    -PortMirroring
    Specifies the port mirroring mode for the network adapter to be configured. Allowed values are None, Source, and Destination. If a virtual network adapter is configured as Source, every packet it sends or receives is copied and forwarded to a virtual network adapter configured to receive the packets. If a virtual network adapter is configured as Destination, it receives copied packets from the source virtual network adapter. The source and destination virtual network adapters must be connected to the same virtual switch. Specify None to disable the feature.

    https://technet.microsoft.com/en-us/library/hh848457.aspx




    0



    0
  3. Right here is the perfect web site for anyone who really wants to understand this topic. You know so much its almost tough to argue with you (not that I actually would want to…HaHa). You certainly put a new spin on a subject which has been discussed for a long time. Wonderful stuff, just excellent!|




    0



    0

Leave a Reply