Create VM via Powershell
Creating new resource group command
Create VM in Azure command
Now it may sometimes prompt user for login credentials for authentication
Now the VM has much more customized options than that are provided here, so for the options that didn't provided here in the command, Azure sets the default values to those options
This is prompt for admin password just so that the command wont have the user password in transit or even in logs the command wont have the user password shown unencrypted.
The default VM size that Azure wants to use when you create a VM is Standard DS1
Last updated