Remove-DataGatewayClusterMember
Remove gateway from gateway cluster. This does not uninstall the gateway from the machine.
Syntax
Remove-DataGatewayClusterMember
[-Scope <PowerBIUserScope>]
[-RegionKey <String>]
-GatewayClusterId <Guid>
-MemberGatewayId <Guid>
[<CommonParameters>]
Description
Remove gateway from gateway cluster
Examples
Example 1
PS C:\> Remove-DataGatewayClusterMember -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77 -MemberGatewayId E407A364-3A89-4E21-8791-C108DB41E75A
Remove the gateway with ID E407A364-3A89-4E21-8791-C108DB41E75A from the cluster with ID DC8F2C49-5731-4B27-966B-3DB5094C2E77
Example 2
PS C:\> Remove-DataGatewayClusterMember -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77 -MemberGatewayId E407A364-3A89-4E21-8791-C108DB41E75A -RegionKey brazilsouth
Remove the gateway with ID E407A364-3A89-4E21-8791-C108DB41E75A from the cluster with ID DC8F2C49-5731-4B27-966B-3DB5094C2E77 This command is run in the Brazil south region, so the gateway cluster ID provided should be in that region.
Parameters
-GatewayClusterId
The gateway cluster of which the to-be removed gateway is a member.
Type: | Guid |
Aliases: | Cluster, Id |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MemberGatewayId
The member to be removed from the gateway cluster
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RegionKey
The region associated with the specified gateway cluster. Not providing a -RegionKey
will run the command in the default region for your tenant.
To get the list of available region parameters run the Get-DataGatewayRegion
command
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Scope
Security Scope to run the command. This would determine if you are running this command in the scope of a Tenant/Service admin or a Gateway Admin
Type: | PowerBIUserScope |
Accepted values: | Individual, Organization |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Void