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

未经允许不得转载:PowerCLI命令行出错的解决

网友评论(0)



枫叶落 -网络技术学习交流--用心记录!

联系我