Create the VM with pre-configuration such as installed windows features and roles.
Step 1: Create new VM script:
You have to create a script to get new Azure VM ready with provided details. You need to then inject one script (custom script) with other script (Azure automation).
Let us view a script for creating new vm as follows:
Step 2: Inject script:
While creating Azure VM with GUI, put this as custom script
But with command line for automation, we need to put custom script in Azure storage that is blob (recommended). For injecting the script which is required for […]