Connect-VIServer -Server "" -User "" -Password ""
Executed above commect but getting below error . Do we have any pre-requisites for VMware.PowerCLI 13.1.0
I have already installed .Net framework 4.8 and powershell 5.1 version but still getting below error
Connect-VIServer : Failed to connect: Could not load file or assembly
'VMware.Vim, Version=18.104.22.16865, Culture=neutral, PublicKeyToken=null' or one
of its dependencies. The system cannot find the file specified
I suspect there are multiple PowerCLI versions installed.
Start by doing an
Get-Module -Name "VMware.*" -ListAvailable
and check if that looks normal (only one version).
Also, check what is in $env:PSModulePath and verify the module folders are in there.
A good way to check if your installation is having issues, try the same on another station with a fresh PowerCLI installation.