While attempting to run PowerCLI commands after an upgrade to VCF 9.0 Powercli, the commands cannot find the module file to various commands.
Powershell version is 5.2.x
VCF vCenter 9.0
WIndows 10 or 11.
PowerShell 5.2.1
Deprecation of Powershell 5.2.x.
Introduced in VCF PowerCLI 9.0 Was introduced a requirement of PowerShell 7.0 plus. Please upgrade Powershell to the newer version as the new module design does not get copied in correctly, and will introduce
Prerequisite
Note: PowerShell 5.1 is being deprecated. We recommend installing a supported version of PowerShell to ensure compatibility and receive the latest updates and security fixes. As of today, PowerShell 7.4 or later is officially supported and is our minimum recommended version for use.
For more information, see PowerCLI compatibility matrixes.
see https://developer.broadcom.com/powercli/installation-guide for more details