How do I delete OFF-Critical virtual machines from hyper-v manager?

Boe Dillard 666 Reputation points
2022-10-06T17:41:16.213+00:00

Hello,

The storage for the hyper-v machines is gone. The VMs are running on another server so we don't care about getting them back on this server. We just want to remove them from hyper-V manager on this server. 248241-capture.jpg

I've tried uninstalling hyper-v and reinstalling but they come back. There doesn't seem to be any way to delete them, right click on them or get rid of them.

System Center Virtual Machine Manager
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,583 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Boe Dillard 666 Reputation points
    2022-10-07T04:28:05.163+00:00

    Found the solution -
    Open powershell in admin mode
    type get vm (to verify the hyper-v server names)
    type remove-vm -name (server name) -force

    BOOM!

    2 people found this answer helpful.

  2. Oleh Borkhalenko 6 Reputation points
    2023-01-04T21:45:04.7+00:00

    For PowerShell correct command names are:
    Get-VM
    Remove-VM

    1 person found this answer helpful.

  3. Ollie IT Man 171 Reputation points
    2022-10-06T18:00:05.99+00:00

    Hi @Boe Dillard

    You should be able to left click on one and on the bottom right, under action list, you should get a delete virtual machine option.

    Let me know

    0 comments No comments

  4. Boe Dillard 666 Reputation points
    2022-10-06T18:05:03.693+00:00

    Thanks - I do not see that - I'm left clicked on the bottom one.

    The only option i see is help - which is of no help :) 248225-capture.jpg


  5. Boe Dillard 666 Reputation points
    2022-10-06T18:24:32.21+00:00

    Sorry I'm not following. This is a secondary server- it had the VMs replicated to it but it no longer has them - the storage was wiped out. They are still running fine on the other server so I just want to remove them from this server.

    There is no longer any replication set up on the first server that is functioning with they hyper-v virtual machines running fine.

    The VMs are not clustered but originally there was replication from our primary server to this one - there is no longer any replication between the two.

    0 comments No comments