PowerShell远程处理有两个FQDN

时间:2017-03-06 12:31:25

标签: powershell kerberos winrm

我们的服务器有两个FQDN,例如

SERVER01.ADdomain.company.corp [10.0.0.1]
SERVER01.management.company.corp [192.168.0.1]

第一个是Active Directory FQDN,第二个是用于备份和备用的备用NIC。管理目的。两者都在DNS中配置,正向和反向DNS查找工作正常。

我们希望运行PowerShell Remote命令,例如:

Invoke-Command -scriptblock{hostname} -ComputerName SERVER01.ADdomain.company.corp
Invoke-Command -scriptblock{hostname} -ComputerName SERVER01.management.company.corp

第一个命令有效但第二个命令失败并显示错误:

WinRM cannot process the request. The following error occurred while using Kerberos authentication: 
Cannot find the computer SERVER01.management.company.corp. Verify that the computer exists on the network

从我可以建立的Kerberos身份验证只能在域FQDN上工作,但我的问题是:有没有办法让远程命令在第二个FQDN上工作?如果没有,为什么不呢?任何支持此操作的Microsoft文档都将受到赞赏。

0 个答案:

没有答案