Home > Hyper-V > Removing an Orphaned Hyper-V Host from SCVMM

Removing an Orphaned Hyper-V Host from SCVMM

We were unable to remove one of our Hyper-V hosts from SCVMM as it would throw an error stating that SCVMM was unable to communicate with the Hyper-V host . We had reinstalled the Hyper-V Server without removing it from SCVMM before the re-installation process. This left an orphaned Hyper-V host on the SCVMM .

Google search led me to a Technet post which suggested to use ” -Force ” switch using the Power Shell option available in SCVMM and Voila !! We were able to remove the host from SCVMM , Finally !!

Steps are pretty straight forward :

Login to SCVMM

Click on the Power Shell icon available on the top of the screen and use the below mentioned command

Get-vmhost Hyper-V Hostname| remove-vmhost –force “

Please note that the above command can be used when we do not remember the Credentials for the host as well as in scenarios where the SCVMM and Host are unable to communicate. When we  use  the Force parameter, VMM does not prompt for or check credentials, and VMM does not attempt to connect to the host and uninstall the VMM agent .

Advertisements
Categories: Hyper-V Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: