使用PowerShell在多台服务器上设置RDS

这个问题的后续。

我在一台主机上安装了RDS网关和连接代理,在另一台主机上安装了会话主机:

服务器A(colombes):

Add-WindowsFeature –Name RDS-Gateway –IncludeAllSubFeature Add-WindowsFeature –Name RDS-Connection-Broker –IncludeAllSubFeature 

服务器B(敦克尔克):

 Add-WindowsFeature –Name RDS-RD-Server –IncludeAllSubFeature 

服务器A上的服务器pipe理器显示这个

在这里输入图像说明

在服务器B上显示:

在这里输入图像说明

很显然,我错过了让这两台服务器正确对话的步骤,单靠PowerShell怎么能做到呢? 他们可以“看”对方,所以不是他们根本就没有交stream:

在这里输入图像说明

尝试运行这个:

 import-module RemoteDesktop New-SessionDeployment -ConnectionBroker "colombes.fqdn" -SessionHost "dunkirk.fqdn" 

关于这个话题有一些很好的信息: 在Windows Server 2012上使用PowerShell部署基于会话的桌面部署