Hello All,
I'm running Win7 64-bit. I've installed most recent versions of PowerCLI and VITools. When launching, it get the following.
WARNING: The following errors occurred when loading console C:\Program Files
(x86)\VMware\Infrastructure\vSphere PowerCLI\vim.psc1:
Cannot load Windows PowerShell snap-in VMware.VimAutomation.Core because of the
following error: Could not load type
'VMware.VimAutomation.ViCore.Cmdlets.Vim4PSSnapIn' from assembly
'VMware.VimAutomation, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null'.
Command '. "C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Script
s\Initialize-VIToolkitEnvironment.ps1"' could not be executed because some Windo
ws PowerShell snap-ins did not load.
When trying to add VMWare.VimAutomation.Core, I get the following.
PS C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> add-pssnapin V
MWare.VimAutomation.Core
Add-PSSnapin : Cannot load Windows PowerShell snap-in VMWare.VimAutomation.Core
because of the following error: Could not load type 'VMware.VimAutomation.ViCo
re.Cmdlets.Vim4PSSnapIn' from assembly 'VMware.VimAutomation, Version=1.5.0.0,
Culture=neutral, PublicKeyToken=null'.
At line:1 char:13
+ add-pssnapin <<<< VMWare.VimAutomation.Core
+ CategoryInfo : InvalidArgument: (VMWare.VimAutomation.Core:Stri
ng) [Add-PSSnapin], PSSnapInException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.Ad
dPSSnapinCommand
Has anyone run into this and/or have ideas to resolve?
Thankyou.