Get and set Azure WebApp IP restrictions using PowerShell

Today I want to share with you my 2 functions which will help you to manage Azure WebApp IP restrictions using PowerShell. IP restrictions in Azure WebApp allows define IPs from which WebApp / API will be available. All requests which will not match IPs defined in IP restrictions will be blocked. How functions works? Both functions are using Azure Resource Manager module in order to gather and set all …

Recycle Web App Pool using PowerShell Function

Today we will go through process for creating PowerShell function which will recycle Web App Pool remotely. For those who are working with Web Applications this might be helpful. To recycle/restart single Web App Pool we can use one of the commands available in WebAdministration module – Restart-WebAppPool: First step which you have to do is adding your Web App Pools in param sections [ValidateSet(“.NET v2.0″,”.NET v2.0 Classic”,”.NET v4.5″,”.NET v4.5 …

Set your Azure WebApps backup schedule with Powershell

Recently I received a task to set Azure WebApps backup schedule. In normal way it will require to create storage account, containers for each application and Storage Access signature for each container. Until all prerquisites are not met we can’t set schedule on application. Hopefully we’ve got Powershell which is also usefull in this case. All work (including all prerequisites) can be done with one script. Below you can find …