Skip to content

Commit 7f723ba

Browse files
Merge pull request #303819 from cdpark/redirect-powershell-code
Feature 454872: Q&M: Azure App Service - redirect PowerShell sample code files to GitHub
2 parents 2abe1f8 + 7396fe1 commit 7f723ba

20 files changed

+104
-901
lines changed

articles/app-service/samples-powershell.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@ The following table lists PowerShell scripts built for use with Azure PowerShell
2020
| Script | Description |
2121
|-|-|
2222
|**Create app**||
23-
| [Create a web app and deploy code from GitHub](./scripts/powershell-deploy-github.md?toc=%2fpowershell%2fmodule%2ftoc.json)| Creates a web app in App Service that pulls code from GitHub. |
24-
| [Create a web app with continuous deployment from GitHub](./scripts/powershell-continuous-deployment-github.md?toc=%2fpowershell%2fmodule%2ftoc.json)| Creates a web app in App Service, then sets up continuous deployment from GitHub. |
25-
| [Upload files to a web app using FTP](./scripts/powershell-deploy-ftp.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Creates a web app in App Service and upload files from a local directory using FTP. |
26-
| [Create a web app and deploy code from a local Git repository](./scripts/powershell-deploy-local-git.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Creates a web app in App Service, and then deploys code from a local Git repository. |
27-
| [Create a web app and deploy code to a staging environment](./scripts/powershell-deploy-staging-environment.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Creates a web app in App Service with a deployment slot for staging code changes. |
23+
| [Create a web app and deploy code from GitHub](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/deploy-github/deploy-github.ps1)| Creates a web app in App Service that pulls code from GitHub. |
24+
| [Create a web app with continuous deployment from GitHub](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/deploy-github-continuous/deploy-github-continuous.ps1?highlight=1-2)| Creates a web app in App Service, then sets up continuous deployment from GitHub. |
25+
| [Upload files to a web app using FTP](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/deploy-ftp/deploy-ftp.ps1?highlight=1) | Creates a web app in App Service and upload files from a local directory using FTP. |
26+
| [Create a web app and deploy code from a local Git repository](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/deploy-local-git/deploy-local-git.ps1?highlight=1) | Creates a web app in App Service, and then deploys code from a local Git repository. |
27+
| [Create a web app and deploy code to a staging environment](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/deploy-deployment-slot/deploy-deployment-slot.ps1?highlight=1) | Creates a web app in App Service with a deployment slot for staging code changes. |
2828
| [Create an App Service app and deploy Private Endpoint using PowerShell](./scripts/powershell-deploy-private-endpoint.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Creates an App Service app with a private endpoint. |
2929
|**Configure app**||
30-
| [Assign a custom domain to a web app using PowerShell](./scripts/powershell-configure-custom-domain.md?toc=%2fpowershell%2fmodule%2ftoc.json)| Creates a web app in App Service and maps a custom domain name to it. |
31-
| [Bind a custom TLS/SSL certificate to a web app using PowerShell](./scripts/powershell-configure-ssl-certificate.md?toc=%2fpowershell%2fmodule%2ftoc.json)| Creates a web app in App Service and binds the TLS/SSL certificate of a custom domain name to it. |
30+
| [Assign a custom domain to a web app using PowerShell](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/map-custom-domain/map-custom-domain.ps1?highlight=1)| Creates a web app in App Service and maps a custom domain name to it. |
31+
| [Bind a custom TLS/SSL certificate to a web app using PowerShell](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/configure-ssl-certificate/configure-ssl-certificate.ps1?highlight=1-3)| Creates a web app in App Service and binds the TLS/SSL certificate of a custom domain name to it. |
3232
|**Scale app**||
33-
| [Scale a web app manually using PowerShell](./scripts/powershell-scale-manual.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Creates a web app and scales the App Service plan across multiple instances. |
34-
| [Scale an app worldwide with a high-availability architecture](./scripts/powershell-scale-high-availability.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Creates two App Service apps in two different geographical regions and makes them available through a single endpoint using Azure Traffic Manager. |
33+
| [Scale a web app manually using PowerShell](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/scale-manual/scale-manual.ps1) | Creates a web app and scales the App Service plan across multiple instances. |
34+
| [Scale an app worldwide with a high-availability architecture](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/scale-geographic/scale-geographic.ps1) | Creates two App Service apps in two different geographical regions and makes them available through a single endpoint using Azure Traffic Manager. |
3535
|**Connect app to resources**||
36-
| [Connect an app to a SQL Database](./scripts/powershell-connect-to-sql.md?toc=%2fpowershell%2fmodule%2ftoc.json)| Creates an App Service app and a database in Azure SQL Database, then adds the database connection string to the app settings. |
37-
| [Connect an app to a storage account](./scripts/powershell-connect-to-storage.md?toc=%2fpowershell%2fmodule%2ftoc.json)| Creates an App Service app and a storage account, then adds the storage connection string to the app settings. |
36+
| [Connect an app to a SQL Database](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/connect-to-sql/connect-to-sql.ps1?highlight=13)| Creates an App Service app and a database in Azure SQL Database, then adds the database connection string to the app settings. |
37+
| [Connect an app to a storage account](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/connect-to-storage/connect-to-storage.ps1)| Creates an App Service app and a storage account, then adds the storage connection string to the app settings. |
3838
|**Back up and restore app**||
39-
| [Back up a web app using PowerShell](./scripts/powershell-backup-onetime.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Creates an App Service app and creates a one-time backup for it. |
40-
| [Create a scheduled backup for a web app using PowerShell](./scripts/powershell-backup-scheduled.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Creates an App Service app and creates a scheduled backup for it. |
41-
| [Delete a backup for a web app using Azure PowerShell](./scripts/powershell-backup-delete.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Deletes an existing backup for an app. |
42-
| [Restore a web app from a backup using Azure PowerShell](./scripts/powershell-backup-restore.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Restores an app from a previously completed backup. |
43-
| [Restore a web app from a backup in another subscription](./scripts/powershell-backup-restore-diff-sub.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Restores a web app from a backup in another subscription. |
39+
| [Back up a web app using PowerShell](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/backup-onetime/backup-onetime.ps1) | Creates an App Service app and creates a one-time backup for it. |
40+
| [Create a scheduled backup for a web app using PowerShell](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/backup-scheduled/backup-scheduled.ps1) | Creates an App Service app and creates a scheduled backup for it. |
41+
| [Delete a backup for a web app using Azure PowerShell](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/backup-delete/backup-delete.ps1) | Deletes an existing backup for an app. |
42+
| [Restore a web app from a backup using Azure PowerShell](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/backup-restore/backup-restore.ps1) | Restores an app from a previously completed backup. |
43+
| [Restore a web app from a backup in another subscription](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/backup-restore-diff-sub/backup-restore-diff-sub.ps1) | Restores a web app from a backup in another subscription. |
4444
|**Monitor app**||
45-
| [Monitor a web app with web server logs](./scripts/powershell-monitor.md?toc=%2fpowershell%2fmodule%2ftoc.json) | Creates an App Service app, enables logging for it, and downloads the logs to your local machine. |
45+
| [Monitor a web app with web server logs](https://github.com/Azure/azure-docs-powershell-samples/blob/master/app-service/monitor-with-logs/monitor-with-logs.ps1) | Creates an App Service app, enables logging for it, and downloads the logs to your local machine. |

articles/app-service/scripts/powershell-backup-delete.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

articles/app-service/scripts/powershell-backup-onetime.md

Lines changed: 0 additions & 53 deletions
This file was deleted.

articles/app-service/scripts/powershell-backup-restore-diff-sub.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

articles/app-service/scripts/powershell-backup-restore.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)