Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following table lists PowerShell scripts built for use with Azure PowerShell.
Script | Description |
---|---|
Create app | |
Create a web app and deploy code from GitHub | Creates a web app in App Service that pulls code from GitHub. |
Create a web app with continuous deployment from GitHub | Creates a web app in App Service, then sets up continuous deployment from GitHub. |
Upload files to a web app using FTP | Creates a web app in App Service and upload files from a local directory using FTP. |
Create a web app and deploy code from a local Git repository | Creates a web app in App Service, and then deploys code from a local Git repository. |
Create a web app and deploy code to a staging environment | Creates a web app in App Service with a deployment slot for staging code changes. |
Create an App Service app and deploy Private Endpoint using PowerShell | Creates an App Service app with a private endpoint. |
Configure app | |
Assign a custom ___domain to a web app using PowerShell | Creates a web app in App Service and maps a custom ___domain name to it. |
Bind a custom TLS/SSL certificate to a web app using PowerShell | Creates a web app in App Service and binds the TLS/SSL certificate of a custom ___domain name to it. |
Scale app | |
Scale a web app manually using PowerShell | Creates a web app and scales the App Service plan across multiple instances. |
Scale an app worldwide with a high-availability architecture | Creates two App Service apps in two different geographical regions and makes them available through a single endpoint using Azure Traffic Manager. |
Connect app to resources | |
Connect an app to a SQL Database | Creates an App Service app and a database in Azure SQL Database, then adds the database connection string to the app settings. |
Connect an app to a storage account | Creates an App Service app and a storage account, then adds the storage connection string to the app settings. |
Back up and restore app | |
Back up a web app using PowerShell | Creates an App Service app and creates a one-time backup for it. |
Create a scheduled backup for a web app using PowerShell | Creates an App Service app and creates a scheduled backup for it. |
Delete a backup for a web app using Azure PowerShell | Deletes an existing backup for an app. |
Restore a web app from a backup using Azure PowerShell | Restores an app from a previously completed backup. |
Restore a web app from a backup in another subscription | Restores a web app from a backup in another subscription. |
Monitor app | |
Monitor a web app with web server logs | Creates an App Service app, enables logging for it, and downloads the logs to your local machine. |