Which two commands should you run from Windows PowerShell?

Correct Answer for the Question – Which two commands should you run from Windows PowerShell? is given below

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.)– PortMirroring specifies the port mirroring mode for the network adapter. This can be set to None, Source, and Destination.If set to Source, a copy of every network packet it sends or receives is forwarded to a virtual network adapter configured to receive the packets.If set to Destination, it receives copied packets from the source virtual network adapter.In this scenario, VM5 is the destination which must receive a copy of the network packets from VM6, which s the source.Reference: http://technet.microsoft.com/en-us/library/hh848457.aspx

Get-VM gVM6? | Set-VMNetworkAdapter-IovWeight 1

Get-VM gVM5? I Set-VMNetworkAdapter -IovWeight 0

Get-VM gVM5? | Set-VMNetworkAdapter -PortMirroring Source

Get-VM gVM6? | Set-VMNetworkAdapter -AllowTeaming On

Get-VM gVM6? | Set-VMNetworkAdapter -PortMirroring Destination

Get-VM gVM5? | Set-VMNetworkAdapter -AllowTeaming On

Correct Answer

The Correct Answer for this Question is

Get-VM gVM5? | Set-VMNetworkAdapter -PortMirroring Source
Get-VM gVM6? | Set-VMNetworkAdapter -PortMirroring Destination

The answers for the certifications of MNCs could be very tricky to understand. that’s why we have solved and pasted these exam answers here. The Question – Which two commands should you run from Windows PowerShell? has been answered correctly and answers for various other similar questions could be found in the search box of this site.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment