How to remove a hyper-v host from SCVMM and this hyper-v host staus is ’adding‘ in SCVMM

standuhuajun 66 Reputation points
2020-12-11T04:23:47.27+00:00

Hi,
How to remove a hyper-v host from SCVMM and this hyper-v host staus is ’adding‘ in SCVMM. Because the status is "adding", So when i right-click this node, the remove function is grey and we can't remove it.
So I try to run the command to remove this hyper-v host(remove-scvmhost -vmhost "cnsh-00hpv22" -force -confirm). But it prompts "The term 'remove-scvmhost' is not recognized as the name of a cmdlet, function, script file, or operable program."
So how can I remove this node from SCVMM?

47225-111.jpg

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,530 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 42,716 Reputation points Microsoft Vendor
    2020-12-11T06:14:48.617+00:00

    @standuhuajun , To run SCVMM related powershell command, we need to import the virtualmanachinemanager module. with the following command:
    Import-module virtualmachinemanager

    We can firstly import the module and run the command again.

    Hope it can help.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments