Created
December 2, 2019 04:35
-
-
Save wvanbesien/5d9efd8a0d94d29080376c180c8f1553 to your computer and use it in GitHub Desktop.
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
{ | |
"apiVersion": "2018-06-01", | |
"type": "Microsoft.Compute/virtualMachines/extensions", | |
"name": "[concat(parameters('VM_Name'),'/config-server')]", | |
"location": "[resourceGroup().location]", | |
"dependsOn": [ | |
"[concat('Microsoft.Compute/virtualMachines/', parameters('VM_Name'))]" | |
], | |
"tags": { | |
"displayName": "config-server" | |
}, | |
"properties": { | |
"publisher": "Microsoft.Compute", | |
"type": "CustomScriptExtension", | |
"typeHandlerVersion": "1.9", | |
"autoUpgradeMinorVersion": true, | |
"settings": { | |
"fileUris": [ | |
"https://raw.githubusercontent.com/wvanbesien/regionalSettings/master/SetLanguage.ps1" | |
] | |
}, | |
"protectedSettings": { | |
"commandToExecute": "powershell -ExecutionPolicy Unrestricted -File setlanguage.ps1 -lng en-AU" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment