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

Removes a Server Management gateway.

Syntax

Remove-AzureRmServerManagementGateway
      [-ResourceGroupName] <String>
      [-GatewayName] <String>
      [-InformationAction <ActionPreference>]
      [-InformationVariable <String>]
      [<CommonParameters>]
Remove-AzureRmServerManagementGateway
      [-Gateway] <Gateway>
      [-InformationAction <ActionPreference>]
      [-InformationVariable <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

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Notes

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