Powercli 6.5 error with  add-pssnapin VMware.VimAutomation.Cor

They have chnage the way to app snapin!

Get-Module -Name VMware.VimAutomation.Core -ListAvailable | Import-Module

#add-pssnapin VMware.VimAutomation.Core

 

 

Error:

add-pssnapin VMware.VimAutomation.Cor
add-pssnapin : No snap-ins have been registered for Windows PowerShell version 3.
At line:1 char:1
+ add-pssnapin VMware.VimAutomation.Cor
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (VMware.VimAutomation.Cor:String) [Add-PSSnapin], PSArgumentException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

Up ↑