CustomScript Extension allows the owner of the Azure Virtual Machines to run customized scripts in the VM.
This template shows a simple example to run scripts which are stored in public storage(e.g. Github).
- Using Azure CLI
https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-azure-resource-manager/
- Using Powershell
https://azure.microsoft.com/en-us/documentation/articles/powershell-azure-resource-manager/
- Using Azure Portal Click the "Deploy to Azure" button.