Skip to main content

app service

Stop or Start all WebApps in your Azure subscription
·409 words·2 mins
azure devops powershell app service
Stop or Start all WebApps in your Azure subscription with Stop-Start-All-WebApps.ps1 a simple PowerShell workflow runbook that will help you automate the process of stopping or starting every single WebApp (Website) you’ve deployed. The script receives two required parameters: Stop: If set to true stop the WebApps (Websites) otherwise start the WebApps (Websites) CredentialAssetName: The name of a valid Credential Asset (AutomationPSCredential) you must have previously configured. As you can see below, the script is quite simple and uses the following PowerShell Activities and Cmdlets: