Remove-​Azure​Rm​Server​Management​Gateway

Removes a Server Management gateway.

Syntax

Remove-AzureRmServerManagementGateway
      [-Gateway] <Gateway>
      [<CommonParameters>]
Remove-AzureRmServerManagementGateway
      [-ResourceGroupName] <String>
      [-GatewayName] <String>
      [<CommonParameters>]

Description

The Remove-AzureRmServerManagementGateway cmdlet removes an Azure Server Management gateway.

Examples

1:

Required Parameters

-Gateway

Specifies the gateway that this cmdlet removes.

This parameter may be used instead of the ResourceGroupName and the GatewayName parameters.

Type:Gateway
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-GatewayName

Specifies the name of the gateway that this cmdlet removes.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group in that the gateway belongs to.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Notes

  • All the nodes in the Gateway must be removed before using this cmdlet; otherwise this cmdlet will fail.