Well, let’s discuss how to restart the application gateway in Azure using PowerShell and Azure CLI.
Restart Azure Application Gateway
Follow the below steps to restart the Azure application gateway
1. Open the PowerShell ISE as Run as administrator mode
2. You can run the below PowerShell cmdlet to start the Azure Application Gateway. Check out the screenshot below.
PS C:\WINDOWS\system32> Start-AzureRmApplicationGateway
In the same way, you can also stop the Azure Application Gateway using the below PowerShell cmdlet.
PS C:\WINDOWS\system32> Stop-AzureRmApplicationGateway
Using Azure CLI
You can also Restart Azure Application Gateway using Azure CLI.
Use the below Azure CLI script to restart the Azure Application Gateway
First, you can use the below Azure CLI script to stop the Azure Application Gateway
az network application-gateway stop -g newresgroup -n DemoAppGateway
Then you can start the Azure Application Gateway using the below Azure CLI script.
az network application-gateway start -g newresgroup -n DemoAppGateway
You may also like following the articles below
This article discussed how to restart the application gateway in Azure using PowerShell and Azure CLI. Thanks for reading this article !!!
I am Rajkishore, and I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machine, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.