Set-EntraBetaApplicationProxyConnector

Set-EntraBetaApplicationProxyConnector cmdlet 允许将连接器重新分配到另一个连接器组。

语法

Default (默认值)

Set-EntraBetaApplicationProxyConnector

    -OnPremisesPublishingProfileId <String>
    -ConnectorGroupId <String>
    [<CommonParameters>]

说明

Set-EntraBetaApplicationProxyConnector cmdlet 允许将连接器重新分配到另一个连接器组。

示例

示例 1:将连接器移动到其他连接器组

Connect-Entra -Scopes 'Directory.ReadWrite.All'
$params = @{
    OnPremisesPublishingProfileId = 'aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb'
    ConnectorGroupId = 'bbbbbbbb-1111-2222-3333-cccccccccccc'
}
Set-EntraBetaApplicationProxyConnector @params

此示例演示如何将连接器移动到其他连接器组。

  • -OnPremisesPublishingProfileId 参数指定连接器 ID。
  • -ConnectorGroupId 参数指定应用程序代理连接器组 ID。

参数

-ConnectorGroupId

Microsoft Entra ID中目标应用程序代理连接器组的唯一标识器。 使用 Get-EntraBetaApplicationProxyConnectorGroup 命令查找此值。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:True
来自管道的值:True
来自管道的值(按属性名称):True
来自剩余参数的值:False

-OnPremisesPublishingProfileId

要移动的连接器的 ID。 Get-EntraBetaApplicationProxyConnectorGroup使用命令查找连接器组 ID。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False
别名:Id

参数集

(All)
Position:Named
必需:True
来自管道的值:True
来自管道的值(按属性名称):True
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters