Skip to main content
Matrix42 Self-Service Help Center

Prerequisites for VMware vCenter Inventory

Overview

This document provides reference information on the data provider Inventory of VMware vCenter

VMware vCenter data provider is able to collect information about virtual machines.

Supported Versions

Following versions have been tested and are supported by the VMware vCenter data provider:

  • Version 4.1
  • Version 5.0
  • Version 5.5
  • Version 6.0
  • Version 6.5
  • Version 6.7
  • Version 6.7 Update 1
  • Version 6.7 Update 2

Requirements

To be able to scan the VMware vCenter infrastructure under a read-only user, select a user that belongs to the Read-only user role in vSphere Client and specify their credentials when configuring the Inventory of VMware vCenter Data Provider.

PowerCLI Requirements

To successfully scan the VMware vCenter infrastructure, you need to install the latest version of PowerCLI on the machine where you run the data gateway. To install it, run Powershell ISE (not Powershell ISE (x86)) and execute the following commands:

Supported PowerCLI versions:

  • 11.3

We only support VMware PowerCLI 11.3 since according to our experience, previous versions may show unexpected behaviors (issues)! 

Install-Module -Name VMware.PowerCLI
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore

To uninstall the previous version of PowerCLI, use the commands below:

(Get-Module VMware.PowerCLI -ListAvailable).RequiredModules | Uninstall-Module -Force
Get-Module VMware.PowerCLI -ListAvailable | Uninstall-Module -Force

If upgrading, it is recommended to uninstall the previous version first and then install the latest one.

 

Troubleshooting

-Name VMware.PowerCLI not found

If this error occurs, please run the following command in PowerShell:

Register-PSRepository -Name PSGallery -SourceLocation https://www.powershellgallery.com/api/v2/  -PublishLocation https://www.powershellgallery.com/api/v2/package/  -ScriptSourceLocation https://www.powershellgallery.com/api/v2/items/psscript/  -ScriptPublishLocation https://www.powershellgallery.com/api/v2/package/  -InstallationPolicy Trusted -PackageManagementProvider NuGet

You can check the compatibility between PowerCLI and VMware vCenter Server by using this matrix.

If PowerShell does not recognize the Install-Module command, please update Windows Management Framework.

Further Information:

  • Was this article helpful?