Giter Site home page Giter Site logo

arm-vm-customregion's Introduction

๐Ÿ‘‹ Hey there

I'm Stuart Preston, a technologist who lives in the beautiful City of York in the north of England. I have worked in positions all the way from Trainee/Helpdesk to CTO but these days I focus on building product. โœจ

Stuart Preston | Twitter Stuart's LinkedIn

arm-vm-customregion's People

Contributors

stuartpreston avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

arm-vm-customregion's Issues

nvalidParameter: The value of parameter windowsConfiguration.additionalUnattendContent.content is invalid.

Hiya,

I have tried to deploy this using ADO and the above error. Any tips on how to resolve this?

invalidParameter: The value of parameter windowsConfiguration.additionalUnattendContent.content is invalid.

"customScript": "Set-WinSystemLocale en-GB\r\nSet-WinUserLanguageList -LanguageList en-GB -Force\r\nSet-Culture -CultureInfo en-GB\r\nSet-WinHomeLocation -GeoId 242\r\nRestart-Computer -Force",
"timeZone": "GMT Standard Time"

"customData": "[Base64((variables('customScript'))]",
"windowsConfiguration": {
"enableAutomaticUpdates": false,
"provisionVmAgent": true,
"timeZone": "[variables('timeZone')]",
"additionalUnattendContent": [
{
"passName": "oobeSystem",
"componentName": "Microsoft-Windows-Shell-Setup",
"settingName": "FirstLogonCommands",
"content": "cmd /c "copy C:\AzureData\CustomData.bin C:\Config.ps1"copy1%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -file C:\Config.ps1script2"
},
{
"passName": "oobeSystem",
"componentName": "Microsoft-Windows-Shell-Setup",
"settingName": "AutoLogon",
"content": "[concat('', parameters('adminPassword'), 'true1', parameters('adminUserName'), '')]"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.