VMware Cloud Community
ym2018
Contributor
Contributor

Add-PSSnapin : The Windows PowerShell snap-in 'VMWare.VimAutomation.Core' is not installed on this computer

I'm getting the following error:

Add-PSSnapin : The Windows PowerShell snap-in 'VMWare.VimAutomation.Core' is not installed on this computer.

PowerCLI Version:

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

   VMware PowerCLI 10.0.0 build 7895300

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

Component Versions

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

   VMware Cis Core PowerCLI Component PowerCLI Component 10.0 build 7893915

   VMware VimAutomation VICore Commands PowerCLI Component PowerCLI Component 10.0 build 7893909

$PSVersionTable:

Name                           Value

----                           -----

PSVersion                      5.1.16299.251

PSEdition                      Desktop

PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}

BuildVersion                   10.0.16299.251

CLRVersion                     4.0.30319.42000

WSManStackVersion              3.0

PSRemotingProtocolVersion      2.3

SerializationVersion           1.1.0.1

Reply
0 Kudos
1 Reply
AbdulAlim
Contributor
Contributor

Hi,

I was having the same query, however, I came to know that many Snapins functionality is already included in the PowerCLI 10.0 hence no need to add any Snapin.

I have commented the lines of Add-PSsnapin with # and all worked.

Thanks, A.Alim Momin Return Excellence.....
Reply
0 Kudos