Powershell 7.4
Windows server 2019
As far as I can see is VMware-PowerCLI-13.2.1-22851661 is compatible with Powershell 7.4
I´m trying to install Module in Powershell 7.4.
PS C:\Scripts\VMware-PowerCLI-13.2.1-22851661\VMware.VimAutomation.Core\net472> Import-Module .\VMware.VimAutomation.Core.psd1
InvalidOperation: C:\Scripts\VMware-PowerCLI-13.2.1-22851661\VMware.VimAutomation.Core\net472\VMware.VimAutomation.Core.ps1:1
Line |
1 | [VMware.VimAutomation.Sdk.Interop.V1.CoreServiceFactory]::CoreService …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Unable to find type [VMware.VimAutomation.Sdk.Interop.V1.CoreServiceFactory].
Import-Module: Could not load file or assembly 'VMware.VimAutomation.Sdk.Interop, Version=13.2.0.5660, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
PS C:\Scripts\VMware-PowerCLI-13.2.1-22851661\VMware.VimAutomation.Core\net472>
I really appreciate your answer