枫叶落
PowerCLI命令行出错的解决
2017-10-17 Eagle

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


图片.png

图片.png

发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容