Posts

Showing posts from February, 2017

The definitive guide on how to deploy a cloud service to Azure using PowerShell

This is a set of scripts: deploy-all-async.ps1 > starts the deployment process asynchronously. compile-all.ps1 > compiles all the projects synchronously cloud-msbuild-compile.ps1 > compiles each project cloud-deploy.ps1 > deploys the project to Azure deploy-all-async.ps1 #To execute, cd to this folder and run: # .\deploy-all-async.ps1 $ScriptPath = Split-Path $MyInvocation.InvocationName #START COMPILE ******************************************************************************************************** $path = "$ScriptPath\compile-all.ps1" Invoke-Expression "$path" #END COMPILE ******************************************************************************************************** #START DEPLOY ******************************************************************************************************** $projects = @("clouddeploymentname1", "clouddeploymentname2", "clouddeploymentname3", "clouddeplo...