Sep 17 2017 05:24 PM
am new to this forum.
want to clarify whether my understanding is correct on creating azure VM through diff method
1) create a VM from azure portal
2) create a VM through Powershell (without using visual studio or JSON)
3) create a json template and deploy json template through power shell
4) create and deploy virtual machine through visual studio console.
is this correct ? if yes, what is the recommanded method to create a azure VM ?
Sep 17 2017 11:07 PM
Yes. My preferred method is Powershell. I have my own scripts with variables i can change when needed.
Sep 18 2017 03:52 AM
thank you.
One question on using VB. if i have jason template ready with me for VM deployment and parameter then i do not need VB to be installed, right ? i can simply edit json file and use it in to powershell command.
is my unerstanding is correct ?
Sep 18 2017 06:11 AM - edited Sep 18 2017 06:13 AM
SolutionYes, you can read more details here:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ps-template
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-deploy
Also there many great "quick start" templates on Github:
Oct 21 2019 07:05 PM
Sep 18 2017 06:11 AM - edited Sep 18 2017 06:13 AM
SolutionYes, you can read more details here:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ps-template
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-deploy
Also there many great "quick start" templates on Github: