Ada*_*and 8 powershell windows-server-2008 rdp command-line-interface remote-desktop-services
对于 Windows 2008,我需要创建一个脚本来显示连接的 RDP 会话是否设置为“高”加密或其他(例如,“兼容”)。
有没有人知道一种无需通过 GUI 即可获得此功能的方法?
我调查了 wmic 和 powershell,但找不到任何东西。我找到了一个用于终端服务的 .net Powershell 模块,但它所做的只是显示状态(即列出会话)。我实际上需要查看加密级别。
看起来这个 power shell 命令应该可以为你完成
get-childitem -path RDS:\RDSConfiguration\Connections\RDP-Tcp\SecuritySettings\EncryptionLevel | format-list
Run Code Online (Sandbox Code Playgroud)
http://technet.microsoft.com/en-us/library/ee791871(WS.10).aspx
| 归档时间: |
|
| 查看次数: |
5392 次 |
| 最近记录: |