search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Virtual Machine Manager, Windows Powershell | No Comment | 5,900 views | 17/02/2014 14:48

You may see duplicate VMs in SCVMM 2012 R2 after a host crash in a cluster.

In that use you can use following script:

1
Get-VM "DuplicateVM" | Where Cloud -eq $Null | Remove-VM -force

That will remove that VM from SCVMM database only. VM will be online on host after operation.