StephaneGillier
Enthusiast
Enthusiast

Fresh Install of PowerCLI failed

Hello,

I download in my laptop vmware powercli.

VMware-PowerCLI-5.5.0-1931983.exe

The installation working fine and when I launch the "VMware vSphere PowerCLI" nothing append.

I try to open Powershell and launch manually "vim.psc1" and I have this error :

PS C:\Users\User1> WARNING : The following errors occurred when loading console C:\Program Files(x86)\VMware\Infrastructure\vSphere PowerCLI\vim.psc1 :

Unable to load the snap-in Windows PowerShell VMware.VimAutomation.Core due to the following error : Unable to cast an object of type 'VMware.VimAutomation.ViCore.Cmdlets.Vim4PSSnapIn' to type 'System.Management.Automation.CustomPSSnapIn'.

Unable to load the snap-in Windows PowerShell VMware.VimAutomation.Vds due to the following error : Unable to cast an object of type 'VMware.VimAutomation.Vds.Commands.VdsSnapin' to type 'System.Management.Automation.CustomPSSnapIn'.

Thank you for your help.