Azure-in-bullet-points

Configuration as Code

PowerShell Desired State Configuration

Azure Automation

Implement Desired State Configuration

Custom Script Extension

{
        "name": "MyCustomScriptExtension",
        "type": "extensions",
        ...
        "properties": {
          "publisher": "Microsoft.Compute",
          "type": "CustomScriptExtension",
          ...
          "settings": {
            "fileUris": [
              "[concat('https://', variables('storageName'),
                '.blob.core.windows.net/customscripts/start.ps1')]" 
            ],
            "commandToExecute": "powershell.exe -ExecutionPolicy Unrestricted -File start.ps1"
          }
        }