Remove-DataGatewayClusterMember
从网关群集中删除网关。 这不会从计算机中卸载网关。
语法
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 |
别名: | Cluster, Id |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-MemberGatewayId
要从网关群集中删除的成员
类型: | Guid |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-RegionKey
与指定网关群集关联的区域。 不提供 -RegionKey
将在租户的默认区域中运行命令。
若要获取可用区域参数的列表,请运行 Get-DataGatewayRegion
命令
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Scope
用于运行命令的安全作用域。 这将确定是否在租户/服务管理员或网关管理员的范围内运行此命令
类型: | PowerBIUserScope |
接受的值: | Individual, Organization |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
输入
None
输出
System.Void