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 private Azure Storage.
- Using Azure CLI
https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-azure-resource-manager/
- Using Azure Powershell
https://azure.microsoft.com/en-us/documentation/articles/powershell-azure-resource-manager/
- Using Azure Portal
Click the "Deploy to Azure" button.