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

vSphere PowerCLI Commandlets Get -Task and New - VM fail with the error: An item with the same key has already been added (2074044)

  • 9 Ratings


When you execute the Get-Task or New-VM PowerCLI Commandlets, you experience these symptoms:
  • You receive the error:
An item with the same key has already been added
  • This issue may not occur when you execute the PowerCLI Commandlets a second time.


This is cosmetic issue and is resolved in vSphere PowerCLI 5.5 Release 1, available at VMware Downloads. For more information, see the VMware vSphere PowerCLI 5.5 Release 1 Release Notes.

Additional Information

For related information, see the vSphere PowerCLI documentation.

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.


  • 9 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.
  • 9 Ratings