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
  • Version 6.7 Update 3

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.

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

To check which version is currently installed, run command:

Get-Module VMware.PowerCLI -ListAvailable

Before installing, please be ensure that old version of PowerCLI is uninstalled. Upgrading from previous version is impossible.

To uninstall the previous version of PowerCLI, stop the "Matrix42.Data.Gateway" service and run Powershell ISE (not Powershell ISE (x86)) and run the commands below:

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

Additionally check that PowerCLI instance is not installed under the "Programs and Features" in Windows settings. Otherwise uninstall it manually.

To install the latest version of PowerCLI, use the commands below:

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

Start "Matrix42.Data.Gateway" service.

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?