Created
January 17, 2017 20:50
-
-
Save bobalob/49c17b4e9ce8e45d2ade24a9a1056377 to your computer and use it in GitHub Desktop.
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
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": {}, | |
"variables": {}, | |
"resources": [ | |
{ | |
"type": "Microsoft.Compute/virtualMachines/extensions", | |
"name": "myVirtualMachine/deployscript", | |
"apiVersion": "2016-03-30", | |
"location": "[resourceGroup().location]", | |
"dependsOn": [ | |
"myVirtualMachine" | |
], | |
"properties": { | |
"publisher": "Microsoft.Compute", | |
"type": "CustomScriptExtension", | |
"typeHandlerVersion": "1.7", | |
"autoUpgradeMinorVersion": true, | |
"settings": { | |
"fileUris": [ | |
"https://raw.githubusercontent.com/bobalob/ARM-Example/master/ProvisionVM.PS1" | |
], | |
"commandToExecute": "powershell.exe -ExecutionPolicy Unrestricted -File ProvisionVM.PS1" | |
} | |
} | |
} | |
], | |
"outputs": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment