无法使用名称“Connect-VIServer”连接到服务器

我写了下面的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 

现在如果我用服务器IPreplace服务器名称,命令将工作正常。 所以任何人都可以build议为什么我无法连接到服务器的名称?

从我知道的(小)

如果

  • 你拥有的域名

  • 并且该域名被注册到注册机构

  • 并且正在将条目正确添加到名称服务器的区域文件中

  • 并且传播时间已过(取决于Zone文件中设置的TLS)

然后

它应该工作