Last active
September 2, 2016 23:33
-
-
Save joegasper/f1acdfa0f601088497d60ea0a255f5e8 to your computer and use it in GitHub Desktop.
Sync an Azure Web Site using Continuous Deployment with 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
Import-Module AzureRM.Websites | |
Login-AzureRmAccount | |
$MyResourceGroup = 'myresourcegroupname' | |
$MyResourceName = 'myresourcename' | |
Invoke-AzureRmResourceAction -ResourceGroupName $MyResourceGroup -ResourceType Microsoft.Web/sites -ResourceName $MyResourceName -Action sync -ApiVersion 2015-08-01 -Force -Verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment