Search the VMware Knowledge Base (KB)
View by Article ID

Get-TagCategory PowerCLI command fails with the error: Cannot find a service registration for vCenter service with host name (2127028)

  • 4 Ratings

Symptoms

  • Running the Get-TagCategory PowerCLI command fails with the error:
Cannot find a service registration for vCenter service with host name hostname
  • Other PowerCLI commands run without any issue.

Cause

This issue occurs due to an incorrect information in the vCenter Server Administrator Settings. It also occurs after changing the vCenter Server name or FQDN.

Resolution

To resolve this issue, ensure that correct vCenter Server FQDN is entered in the advanced settings.

To change FQDN of the vCenter Server in advanced settings:

Note: Before running these steps verify that the FQDN can be resolved from the machine running PowerCLI commands.
  1. Log in to the vSphere Client.
  2. Go to Administration > vCenter Server Settings > Advanced Settings.
  3. Scroll down to find the vCenter Server FQDN entry and enter the full FQDN of the vCenter Server.
  4. Click OK

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 4 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 4 Ratings
Actions
KB: