会飞的鱼

2019
技术学习交流--用心学习--用心记录!
首页 » ▇ ESXI » PowerCLI命令行出错的解决

PowerCLI命令行出错的解决

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

文章如无特别注明均为原创! 作者: Eagle, 转载或复制请以 超链接形式 并注明出处 枫叶落
原文地址《 PowerCLI命令行出错的解决》发布于2017-10-17

分享到:
打赏

评论

切换注册

登录

您也可以使用第三方帐号快捷登录

切换登录

注册