5

Is there a chance how to use a SetParameters.xml file to set parameters in a web deployment package?

I would like to deploy an application by powershell script with cmdlets

  • Select-AzureSubscription
  • Publish-AzureWebsiteProject

But I have not found how to set a SetParameters.xml file to the Publish-AzureWebsiteProject cmdlet. Or is there an another way? Processing the SetParameters.xml file into the web deployment package before calling the Publish-AzureWebsiteProject cmdlet?

Jiri Kanda
  • 81
  • 5

1 Answers1

3

Publish-AzureWebsiteProject does not support SetParameters.xml. The best I found is to use MSDeploy.exe. How to set arguments is in answers at How can I get the PublishUrl via Azure PowerShell?

Community
  • 1
  • 1
Jiri Kanda
  • 81
  • 5