Created
July 30, 2020 17:17
-
-
Save terasaka/8b8592afa099c6515dfaa20b7fdda622 to your computer and use it in GitHub Desktop.
AZURE Application Gateway - Remover certificados
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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