Blog

Installation of VMware.PowerCLI via PowerShell fails with: “Install-PackageProvider : No match was found for the specified search criteria for the provider…”

Problem You’re attempting to install VMware PowerCLI with the Install-Module -Name VMware.PowerCLI cmdlet from within Powershell but notice that it fails with: PS C:scriptsvCheck-vSphere-master> Install-Module -Name VMware.PowerCLI NuGet provider is required to continue PowerShellGet requires NuGet provider version ‘2.8.5.201’ or newer to interact with NuGet-based

Read More...

Attempting to use VMware vSphere PowerCLI’s Connect-VIServer to a vCenter instance fails with: “The underlying connection was closed: An unexpected error occurred on a send.”

Problem You have VMware vSphere PowerCLI version 5.1.0.4977 installed: You attempt to connect to a vSphere vCenter 6.7: … using the Connect-VIServer cmdlet but it immediately fails with: PowerCLI C:Program Files (x86)VMwareInfrastructurevSphere PowerCLI> Connect-VIServer vCenter.contoso.local Connect-VIServer : 2/22/2019 11:41:37 AM Connect-VIServer The underlying connection was

Read More...