How to create VM in Azure (Azure PowerShell)

Hello, In previous post, you have learned how to create Azure VM using Azure Portal. Now, I will show you how you can do that using Azure PowerShell. Once you login to Azure tenant and select subscription, you can use following script. # Assign variables $rgName = ‘TechTrainerRG’ $vmName = ‘TechTrainerVM’ $pubName = ‘MicrosoftWindowsServer’ $offerName…

Read More

How to create VM in Azure (Azure Portal)

Hello everyone, One of the most basic task (and most common) in Azure is creating virtual machine. Like most resources, you can create a VM in three ways: Azure Portal Azure PowerShell Azure CLI Alternatively, you can deploy VM using GitHub or JSON template. Using Azure Portal, process is pretty simple. You need to select…

Read More