0 Replies Latest reply on Sep 8, 2020 10:00 PM by paullee92

    Hi Team, I getting error when import-module vmware.powercli

    paullee92 Lurker

      Hi Team,

       

      I install powershel version inside my windows 10 os

       

      Then i tried to perform below command but failed when import module vmware powercli:

      ########

       

      PS C:\Program Files\PowerShell\7> import-module -name vmware.powercli

      Exception: VMware.VimAutomation.HorizonView module is not currently supported on the Core edition of PowerShell.

       

      ########

       

      But when i search for the available vmware module, i can see the vmware powercli is installed

      ########

      PS C:\Program Files\PowerShell\7> Get-Module -Name "*Vmware*" -ListAvailable

       

      Directory: C:\program files\powershell\7\Modules

       

       

      ModuleType Version    PreRelease Name                                PSEdition ExportedCommands

      ---------- -------    ---------- ----                                --------- ----------------

      Script     12.0.0.15…            VMware.CloudServices                Desk      {Connect-Vcs, Get-VcsOrganizationRole, …

      Script     7.0.0.159…            VMware.DeployAutomation             Desk      {Add-DeployRule, Add-ProxyServer, Add-S…

      Script     7.0.0.159…            VMware.ImageBuilder                 Desk      {Add-EsxSoftwareDepot, Add-EsxSoftwareP…

      Manifest   12.0.0.15…            VMware.PowerCLI                     Desk

      Script     7.0.0.159…            VMware.Vim                          Desk

      Script     12.0.0.15…            VMware.VimAutomation.Cis.Core       Desk      {Connect-CisServer, Disconnect-CisServe…

      Script     12.0.0.15…            VMware.VimAutomation.Cloud          Desk      {Add-CIDatastore, Connect-CIServer, Dis…

      Script     12.0.0.15…            VMware.VimAutomation.Common         Desk      {Get-Task, New-OAuthSecurityContext, St…

      Script     12.0.0.15…            VMware.VimAutomation.Core           Desk      {Add-PassthroughDevice, Add-VirtualSwit…

      Script     12.0.0.15…            VMware.VimAutomation.Hcx            Desk      {Connect-HCXServer, Disconnect-HCXServe…

      Script     7.12.0.15…            VMware.VimAutomation.HorizonView    Desk      {Connect-HVServer, Disconnect-HVServer}

      Script     12.0.0.15…            VMware.VimAutomation.License        Desk      Get-LicenseDataManager

      Script     12.0.0.15…            VMware.VimAutomation.Nsxt           Desk      {Connect-NsxtServer, Disconnect-NsxtSer…

      Script     12.0.0.15…            VMware.VimAutomation.Sdk            Desk      {Get-ErrorReport, Get-PSVersion, Get-In…

      Script     12.0.0.15…            VMware.VimAutomation.Security       Desk      {Add-AttestationServiceInfo, Add-KeyPro…

      Script     11.5.0.14…            VMware.VimAutomation.Srm            Desk      {Connect-SrmServer, Disconnect-SrmServe…

      Script     12.0.0.15…            VMware.VimAutomation.Storage        Desk      {Add-EntityDefaultKeyProvider, Add-KeyM…

      Script     1.3.0.0               VMware.VimAutomation.StorageUtility Desk      Update-VmfsDatastore

      Script     12.0.0.15…            VMware.VimAutomation.Vds            Desk      {Add-VDSwitchPhysicalNetworkAdapter, Ad…

      Script     12.0.0.15…            VMware.VimAutomation.Vmc            Desk      {Add-VmcSddcHost, Connect-Vmc, Disconne…

      Script     12.0.0.15…            VMware.VimAutomation.vROps          Desk      {Connect-OMServer, Disconnect-OMServer,…

      Script     12.0.0.15…            VMware.VimAutomation.WorkloadManag… Desk      {Get-WMNamespace, Get-WMNamespacePermis…

      Script     6.5.1.786…            VMware.VumAutomation                Desk      {Add-EntityBaseline, Copy-Patch, Get-Ba…

       

      #########

       

      Please advice how to fix this