Remove-DataGatewayClusterMember
从网关群集中删除网关。 这不会从计算机中卸载网关。
语法
Default (默认值)
Remove-DataGatewayClusterMember
[-Scope <PowerBIUserScope>]
[-RegionKey <String>]
-GatewayClusterId <Guid>
-MemberGatewayId <Guid>
[<CommonParameters>]
说明
从网关群集中删除网关
示例
示例 1
PS C:\> Remove-DataGatewayClusterMember -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77 -MemberGatewayId E407A364-3A89-4E21-8791-C108DB41E75A
从 ID 为 DC8F2C49-5731-4B27-966B-3DB5094C2E77 的群集中删除 ID 为 ID 为 E407A364-3A89-4E21-8791-C108DB41E75A 的网关
示例 2
PS C:\> Remove-DataGatewayClusterMember -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77 -MemberGatewayId E407A364-3A89-4E21-8791-C108DB41E75A -RegionKey brazilsouth
从 ID E407A364 为 DC8F2C49-5731-4B27-966B-3DB5094C2E77 的群集中删除 ID 为 3A89-4A89-4E21-8791-C108DB41E75A 的网关,因此提供的网关群集 ID 应位于该区域。
参数
-GatewayClusterId
to-be 已删除网关的网关群集是成员。
参数属性
| 类型: | Guid |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
| 别名: | 集群, Id |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-MemberGatewayId
要从网关群集中删除的成员
参数属性
| 类型: | Guid |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-RegionKey
与指定网关群集关联的区域。 不提供 -RegionKey 将在租户的默认区域中运行命令。
若要获取可用区域参数的列表,请运行 Get-DataGatewayRegion 命令
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Scope
用于运行命令的安全作用域。 这将确定是否在租户/服务管理员或网关管理员的范围内运行此命令
参数属性
| 类型: | PowerBIUserScope |
| 默认值: | None |
| 接受的值: | Individual, Organization |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。