Created
December 2, 2019 04:36
-
-
Save wvanbesien/f7ae409d04c88e0892b7d89100259aa1 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