Question

I'm using the PowerShell CmdLets to automate most tasks against Windows Azure Cloud Services and Windows Azure Web Sites.

For Cloud Services, I can use the Get-AzureDeployment CmdLet. However, the similar Get-AzureWebSiteDeployment CmdLet requires Git to be installed before it can run and does not seem to be designed for the same task.

As far as I can see, the Get-AzureWebSite CmdLet only ever retrieves the "Production" slot of a Windows Azure Web Site.

How is it possible to get programmatic access to the corresponding "Staging" slot ?

Was it helpful?

Solution

We are working on some PowerShell cmdlets to support website slots. We are very close to releasing it. Keep an eye on this repo on github. https://github.com/WindowsAzure/azure-sdk-tools

OTHER TIPS

Current date update (Jul 19 2015): According to Azure Docs Web Sites Staging Slots there are new CMDLets that support querying Slots:

Show-AzureWebsite -Name webappslotstest -Slot staging

And some others cmdlets extended with -Slot attribute (Create New Website, Remove, Switch Slots).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top