PowerCLI出错的解决
PowerCLI C:\> Connect-VIServer
Connect-VIServer : The term 'Connect-VIServer' is not recognized as the name of
a cmdlet, function, script file, or operable program. Check the spelling of th
e name, or if a path was included, verify that the path is correct and try agai
n.
At line:1 char:1
+ Connect-VIServer
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Connect-VIServer:String) [], Co
mmandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Add-PSSnapin vmware.vimAutomation.core
Get-PSSnapin