user3231442 user3231442 - 3 months ago 19
PowerShell Question

Powershell switch staging to production

I have cloud service in azure. And I have powershell script on continuous integration. I need on this powershell script switch staging to production. What cmdlet can I use?

Answer

You would need to use Move-AzureDeployment for that purpose. It will block until the swap is complete.

Comments