< Back

Remove-AzureRmApplicationGatewayFrontendPort

Tue Jan 29, 2019 9:56 pm

NAME Remove-AzureRmApplicationGatewayFrontendPort



SYNOPSIS

Removes a front-end port from an application gateway.





SYNTAX

Remove-AzureRmApplicationGatewayFrontendPort -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] -Name <String>

[<CommonParameters>]





DESCRIPTION

The Remove-AzureRmApplicationGatewayFrontendPort cmdlet removes a front-end port from an Azure application gateway.





PARAMETERS

-ApplicationGateway <PSApplicationGateway>

Specifies the application gateway from which to remove a front-end port.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies name of the frontend port to remove.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGateway







NOTES









Example: Remove a front-end port from an application gateway



PS C:\\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"

PS C:\\> Remove-AzureRmApplicationGatewayFrontendPort -ApplicationGateway $AppGw -Name "FrontEndPort02"



The first command gets an application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores the

gateway in $AppGw variable.



The second command removes the port named FrontEndPort02 from the application gateway.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ontendport

Add-AzureRmApplicationGatewayFrontendPort

Get-AzureRmApplicationGatewayFrontendPort

New-AzureRmApplicationGatewayFrontendPort

Set-AzureRmApplicationGatewayFrontendPort