What command should you run?

HOTSPOT
You have a Hyper-V host named Server1 that runs Windows Server 2012 R2. Server1 hosts 40 virtual
machines that run Windows Server 2008 R2. The virtual machines connect to a private virtual switch.
You have a file that you want to copy to all of the virtual machines.
You need to identify to which servers you can copy files by using the Copy-VmFile cmdlet.
What command should you run? To answer, select the appropriate options in the answer area.

HOTSPOT
You have a Hyper-V host named Server1 that runs Windows Server 2012 R2. Server1 hosts 40 virtual
machines that run Windows Server 2008 R2. The virtual machines connect to a private virtual switch.
You have a file that you want to copy to all of the virtual machines.
You need to identify to which servers you can copy files by using the Copy-VmFile cmdlet.
What command should you run? To answer, select the appropriate options in the answer area.

Answer:



Leave a Reply 3

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

five × five =


Silvio

Silvio

There’s a typo here. get-vMintegrationservice. (Missing M)
Also I tried the second command in my v-lab, and it still requires a VM Name (-VM VirtualMachine).

Silvio

Silvio

correction to my comment: There is a missing M, and the command works as long as it is all in one line:
get-vm | get-vmintegrationservice -name “guest service interface” | where Enabled -eq $true

Butternutsquasherino

Butternutsquasherino

The given answer is correct.

From Microsoft: “The guest service allows the Hyper-V administrator to copy files to a running virtual machine without using a network connection”
https://technet.microsoft.com/en-us/library/dn798297(v=ws.11).aspx#BKMK_guest

Guest Services is part of the Integration Services found in the VM’s settings. Guest services is not enabled by default.