我编写了以下PowerCLI命令,以连接到服务器的名称:-
Connect-VIServer -Server "t***.v****ces.intra" -User root -Password "*****"但我犯了以下错误:-
Connect-VIServer : 07/08/2015 13:11:54 Connect-VIServer Could not resolve the requested VC server.
ConnectionException
+ FullyQualifiedErrorId : Client20_ConnectivityServiceImpl_Reconnect_NameR
esolutionFailure,VMware.VimAutomation.ViCore.Cmdlets.Commands.ConnectVISer
ver现在,如果我用服务器IP替换服务器名称,那么命令就会正常工作。那么,有人能告诉我为什么我不能连接到服务器的名称吗?
发布于 2015-08-07 12:54:02
从我所知道的(小)方面:
如果
然后
它应该能工作
https://serverfault.com/questions/711579
复制相似问题