https://blogs.vmware.com/PowerCLI/2020/04/new-release-powercli-12.html
This article said:
Compatibility Matrix for VMware PowerCLI 12.0.0
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
But when I want to try it, I got an error.
> $PSVersionTable
Name Value
---- -----
PSVersion 7.0.0
PSEdition Core
GitCommitId 7.0.0
OS Linux
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
> Import-Module VMware.PowerCLI
Exception: VMware.VimAutomation.HorizonView module is not currently supported on the Core edition of PowerShell.
My OS: ubuntu 16.04
Partially, some modules are not yet supported in PS Core
And some cmdlets, in supported modules, are not supported
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
These are 2 scripts I wrote, and which I used at a VMworld presentation.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Is there any plans to support fully PowerCLI on linux?
Since I don't work for VMware I have no idea what the current roadmap is, but in the past the VMW people have always stated that the purpose is to have all modules running under PSv7.
You can ask your TAM who might be able to get an internal reply.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference