Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 219257

Re: Having issues getting install of PowerCLI working. Hoping you could help.

$
0
0

Hi,

 

I went through and checked every path for $psmodulepath and made sure that my install worked and it did. Everything looks like it it installed in one place now. I needed to uninstall as admin and it cleared everything. Then i reopened powershell without admin and did the install per current user as seen here. I am still getting the same error. Is this a bug of some sort ? Again,  Thanks for you help with this.

 

Windows PowerShell

Copyright (C) 2016 Microsoft Corporation. All rights reserved.

 

PS C:\Users\rwrigh225> Get-Module VMware* -ListAvailable

 

 

    Directory: \\cable.comcast.com\corp-dfs\CHQ-CO Users\rwrigh225\My Documents\WindowsPowerShell\Modules

 

 

ModuleType Version    Name                                ExportedCommands

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

Script     6.7.0.1... VMware.Vim

Script     11.0.0.... VMware.VimAutomation.Cis.Core       {Connect-CisServer, Disconnect-CisServer, Get-CisService}

Script     11.0.0.... VMware.VimAutomation.Common

Script     11.0.0.... VMware.VimAutomation.Core           {Add-PassthroughDevice, Add-VirtualSwitchPhysicalNetworkAd...

Script     7.6.0.1... VMware.VimAutomation.HorizonView    {Connect-HVServer, Disconnect-HVServer}

Script     10.0.0.... VMware.VimAutomation.License        Get-LicenseDataManager

Script     11.0.0.... VMware.VimAutomation.Nsxt           {Connect-NsxtServer, Disconnect-NsxtServer, Get-NsxtService}

Script     11.0.0.... VMware.VimAutomation.Sdk

Script     10.0.0.... VMware.VimAutomation.Srm            {Connect-SrmServer, Disconnect-SrmServer}

Script     11.0.0.... VMware.VimAutomation.Vds            {Add-VDSwitchPhysicalNetworkAdapter, Add-VDSwitchVMHost, E...

Script     11.0.0.... VMware.VimAutomation.Vmc            {Connect-Vmc, Disconnect-Vmc, Get-VmcSddcNetworkService, G...

Script     10.0.0.... VMware.VimAutomation.vROps          {Connect-OMServer, Disconnect-OMServer, Get-OMAlert, Get-O...

 

 

PS C:\Users\rwrigh225> Connect-VIServer vcenter6.bdn.lab.xcal.tv

Connect-VIServer : The 'Connect-VIServer' command was found in the module 'VMware.VimAutomation.Core', but the module

could not be loaded. For more information, run 'Import-Module VMware.VimAutomation.Core'.

At line:1 char:1

+ Connect-VIServer vcenter6.bdn.lab.xcal.tv

+ ~~~~~~~~~~~~~~~~

    + CategoryInfo          : ObjectNotFound: (Connect-VIServer:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

 

PS C:\Users\rwrigh225> Import-Module Vmware.VimAutomation.Core

Import-Module : Could not load file or assembly 'file://\\cable.comcast.com\corp-dfs\CHQ-CO Users\rwrigh225\My

Documents\WindowsPowerShell\Modules\VMware.VimAutomation.Common\11.0.0.10334497\net45\ICSharpCode.SharpZipLib.dll' or

one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

At line:1 char:1

+ Import-Module Vmware.VimAutomation.Core

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Import-Module], FileLoadException

    + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand

 

PS C:\Users\rwrigh225>    


Viewing all articles
Browse latest Browse all 219257

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>