Good Bye!!!Add-PSSnapin VMware.VimAutomation.Core

After up gradation of PowerCLi 5.x to 6.5, I got an error during execution of my old script “Add-PSSnapin : The Windows PowerShell snap-in ‘VMware.VimAutomation.Core’ is not installed on this computer.”

Finally got solution that I have to use “Get-Module –ListAvailable VM* | Import-Module” in place of “Add-PSSnapin VMware.VimAutomation.Core”.

After importing Module you can use all previous syntax.

Please see the below reference Release KB: PowerCli 6.5 Released Guide  and PowerCLi6.5 User Guide: PowerCli 6.5 User Guide

Feel free to comment to me for more conversation.

Thanks

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s