Skip to content

Instantly share code, notes, and snippets.

@astaykov
Created September 29, 2014 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astaykov/b735efb46c89f6ad53b4 to your computer and use it in GitHub Desktop.
Save astaykov/b735efb46c89f6ad53b4 to your computer and use it in GitHub Desktop.
Update service configuration of Cloud Service
# Add the Azure Account first - this will create a login promppt
Add-AzureAccount
# when you have more then one subscription - you have explicitly select the one
# which holds your cloud service you want to update
Select-AzureSubscription "<Subscription name with spaces goes here>"
# then Update the configuration for the cloud service
Set-AzureDeployment -Config -ServiceName "<cloud_service_name_goes_here>" `
-Configuration "D:/tmp/cloud/ServiceConfiguration.Cloud.cscfg" `
-Slot "Production"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment