04 Oct 2011 @ 8:36 AM 

Problem
When a virtual machine has been removed, for example by using Hyper-V Manager or Cluster Administrator, it remains visible in the SCVMM Console.
When youright-click on the VM, the options “Delete” or “Repair” do not work.

Cause
Haven’t got a clue… Sounds like some sort of bug?

Resolution
Yes, you can do it in a GUI… just look up the *.xml file for the virtual machine and delete it.
However, I prefer to use the SCVMM PowerShell module:

Get-VMMServer -ComputerName “SCVMM”
$VM = Get-VM -Name “VirtualMachineName”
Remove-VM -VM $VM -Force

 

Post to Twitter

Posted By: Jeff Wouters
Last Edit: 04 Oct 2011 @ 08:38 AM

EmailPermalink
Tags
Categories: PowerShell, SCVMM



Get Adobe Flash player
 Last 50 Posts
 Back
Change Theme...
  • Users » 1
  • Posts/Pages » 164
  • Comments » 150
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.

Contact



    No Child Pages.