VMware Cloud Community
iceb1ue
Contributor
Contributor

Is PowerCLI really supported on linux?

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

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

0 Kudos
5 Replies
LucD
Leadership
Leadership

Partially, some modules are not yet supported in PS Core

core-1.jpg

And some cmdlets, in supported modules, are not supported

2.jpg


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
iceb1ue
Contributor
Contributor

What commands can get outputs like your two pics?
0 Kudos
LucD
Leadership
Leadership

These are 2 scripts I wrote, and which I used at a VMworld presentation.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
iceb1ue
Contributor
Contributor

Is there any plans to support fully PowerCLI on linux?

0 Kudos
LucD
Leadership
Leadership

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

0 Kudos