nerdexam
Microsoft

70-659 · Question #114

You use Microsoft System Center Virtual Machine Manager (VMM) 2008 R2 to create and manage virtual machines (VMs). You attempt to create the first VM on a Hyper-V host by using Windows PowerShell…

The correct answer is C. In PowerShell, run the Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager. When the Windows PowerShell command shell opens: Add the Virtual Machine Manager snap-in so that you can load the Virtual Machine Manager cmdlets by typing the following command at the command prompt: Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager View a list of all…

Managing System Center Virtual Machine Manager (SCVMM)

Question

You use Microsoft System Center Virtual Machine Manager (VMM) 2008 R2 to create and manage virtual machines (VMs). You attempt to create the first VM on a Hyper-V host by using Windows PowerShell. You receive an error message stating that the New-VM PowerShell cmdlet is not recognized. You need to be able to create VMs by using PowerShell. What should you do?

Options

  • AInstall the VMM Self-Service Portal.
  • BEnable the Windows PowerShell Integrated Scripting Environment feature.
  • CIn PowerShell, run the Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager
  • DRun the Create-VM-Name "VM01"-VirtualHardDisk $VHD-VMHost $VMHost-Path

How the community answered

(35 responses)
  • A
    6% (2)
  • B
    17% (6)
  • C
    74% (26)
  • D
    3% (1)

Explanation

When the Windows PowerShell command shell opens: Add the Virtual Machine Manager snap-in so that you can load the Virtual Machine Manager cmdlets by typing the following command at the command prompt: Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager View a list of all Windows PowerShell snap-ins by typing the following command at the command Confirm that the Virtual Machine Manager snap-in has loaded by typing the following command at the command prompt: If a help topic about the Virtual Machine Manager cmdlet New-VM is displayed, the Virtual Machine Manager snap-in is loaded. (You can substitute any Virtual Machine Manager cmdlet for Confirm that you can view a list of all Virtual Machine Manager cmdlets by typing the following command (all on one line) at the command prompt: Get-Command-PSSnapin Microsoft.SystemCenter.VirtualMachineManager

Topics

#PowerShell snap-in#Add-PSSnapin#VMM cmdlets#New-VM

Community Discussion

No community discussion yet for this question.

Full 70-659 Practice