Close

4th October 2021

VMware PowerCLI PowerShell 5 or 7

I got asked the following today.

“Can I install PowerShell 7 on Windows 10, but still use VMware PowerCLI 12 ?”

Based on the public compatibility matrix documentation for VMware PowerCLI 12.0 the question was prompted because the answer is ostensibly no. Because of this table in the documentation under Installation Prerequisites;

OS Type .NET Version PowerShell Version
Windows .NET Framework 4.7.2 or later Windows PowerShell 5.1
Linux .NET Core 3.1 PowerShell 7
macOS .NET Core 3.1 PowerShell 7

It is documented, but not exactly highlighted, that VMware PowerCLI Support for PowerShell 7 on a Windows platform was introduced with version 12.3.0 of VMware PowerCLI and continues in version 12.4.0.

Compatibility Matrix Documentation.

OS Type .NET Version PowerShell Version
Windows .NET Framework 4.7.2 or later

.NET Core 3.1

Windows PowerShell 5.1

PowerShell 7

Linux .NET Core 3.1 PowerShell 7
macOS .NET Core 3.1 PowerShell 7

Thanks

Simon