< Back

Remove-AzureRmApplicationGatewayRedirectConfiguration

Tue Jan 29, 2019 9:56 pm

NAME Remove-AzureRmApplicationGatewayRedirectConfiguration



SYNOPSIS

Removes a redirect configuration from an existing Application Gateway.





SYNTAX

Remove-AzureRmApplicationGatewayRedirectConfiguration -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] -Name

<String> [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmApplicationGatewayRedirectConfiguration cmdlet removes a redirect configuration from an existing Application Gateway.





PARAMETERS

-ApplicationGateway <PSApplicationGateway>

The applicationGateway



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>

The name of the redirect configuration



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

Microsoft.Azure.Commands.Network.Models.PSApplicationGateway







OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGateway







NOTES









Example 1



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

PS C:\\>$AppGw = Remove-AzureRmApplicationGatewayRedirectConfiguration -ApplicationGateway $AppGw -Name "Redirect01"



The first command gets an application gateway and stores it in the $AppGw variable.



The second command removes the redirect configuration named Redirect01 from the application gateway stored in $AppGw.







RELATED LINKS

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