Skip to content

Instantly share code, notes, and snippets.

@terasaka
Created July 30, 2020 17:17
Show Gist options
  • Save terasaka/8b8592afa099c6515dfaa20b7fdda622 to your computer and use it in GitHub Desktop.
Save terasaka/8b8592afa099c6515dfaa20b7fdda622 to your computer and use it in GitHub Desktop.
AZURE Application Gateway - Remover certificados
# PowerShell 7.0.3
# Modulo Az Version 4.4.0
#
# -----------------------
# Pegar as informações, Resource Group e Nome do AppGw para pegar as
$AppGW = Get-AzApplicationGateway -Name Nome-Do-AppGw -ResourceGroupName RG-Do-AppGw
# Remover o certificado que deseja
Remove-AzApplicationGatewaySslCertificate -ApplicationGateway $AppGW -Name Nome-Do-Certificado
# Aplicar a alteração no AppGw
Set-AzApplicationGateway -ApplicationGateway $AppGW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment