Created
July 2, 2017 15:12
-
-
Save mrik23/a29fc20a94bfe7694d036ee23dcbf4a5 to your computer and use it in GitHub Desktop.
Deploy ARM template with PowerShell
This file contains hidden or 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
#Connect to Azure | |
Login-AzureRmAccount | |
#Create a new resource group is necessary | |
New-AzureRmResourceGroup -Name MyResourceGroup -Location "East US" | |
#Deploy the template in the defined Resource Group | |
New-AzureRmResourceGroupDeployment -Name ExampleDeployment -ResourceGroupName MyResourceGroup ` | |
-TemplateFile c:\projects\templates\azuredeploy.json ` | |
-Verbose | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment