Last active
December 10, 2015 03:48
-
-
Save glennblock/4376543 to your computer and use it in GitHub Desktop.
Update App Settings in the background using Powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-AzureWebsite | ForEach-Object -Process {Start-Job -InputObject $_.Name -ScriptBlock {$site = Get-AzureWebsite $input; $site.AppSettings["Bar1"] = "Baz"; Set-AzureWebsite $site.Name -AppSettings $site.AppSettings}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment