【问题标题】:RDS Gateway > Update Resource authorization policies with PowershellRDS 网关 > 使用 Powershell 更新资源授权策略
【发布时间】:2020-07-03 17:39:36
【问题描述】:

我想知道是否存在用于编辑 RD 网关管理器 > 资源授权策略 的 powershell 命令,如下面的屏幕截图所示。

我想编辑“管理本地计算机组”并在组中添加一台计算机 我试图获取有关 RD CAP 的信息,但我不知道该去哪里。

感谢您的帮助

【问题讨论】:

    标签: powershell remote-desktop rds


    【解决方案1】:

    设置存储在路径中:
    RDS:\GatewayServer\GatewayManagedComputerGroups

    您可以尝试这种方式使用powershell将计算机添加到组中:

    Import-Module RemoteDesktopServices
    Get-Command -Module RemoteDesktopServices
    New-Item -Path RDS:\GatewayServer\GatewayManagedComputerGroups\$GroupsName\Computers -Name $computer
    

    如果您想了解更多详情,cd RDS:\GatewayServer\GatewayManagedComputerGroups 看看对您有很大帮助。

    【讨论】:

      猜你喜欢
      • 2020-09-04
      • 1970-01-01
      • 2020-12-18
      • 2017-02-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多