Azure PowerShell Samples

The following table includes links to bash scripts built using the Azure PowerShell.

Create app
Create a web app with deployment from GitHub Creates an Azure web app which pulls code from GitHub.
Create a web app with continuous deployment from GitHub Creates an Azure web app which continuously deploys code from GitHub.
Create a web app and deploy code with FTP Creates an Azure web app and upload files from a local directory using FTP.
Create a web app and deploy code from a local Git repository Creates an Azure web app and configures code push from a local Git repository.
Create a web app and deploy code to a staging environment Creates an Azure web app with a deployment slot for staging code changes.
Configure app
Map a custom domain to a web app Creates an Azure web app and maps a custom domain name to it.
Bind a custom SSL certificate to a web app Creates an Azure web app and binds the SSL certificate of a custom domain name to it.
Scale app
Scale a web app manually Creates an Azure web app and scales it across 2 instances.
Scale a web app worldwide with a high-availability architecture Creates two Azure web apps in two different geographical regions and makes them available through a single endpoint using Azure Traffic Manager.
Connect app to resources
Connect a web app to a SQL Database Creates an Azure web app and a SQL database, then adds the database connection string to the app settings.
Connect a web app to a storage account Creates an Azure web app and a storage account, then adds the storage connection string to the app settings.
Monitor app
Monitor a web app with web server logs Creates an Azure web app, enables logging for it, and downloads the logs to your local machine.