Skip to content

Instantly share code, notes, and snippets.

View rahman6848's full-sized avatar

Abdul Raheman Syed rahman6848

  • Fianastra
  • Bangalore
View GitHub Profile
@rahman6848
rahman6848 / create-azure-vm-powershell.ps1
Created March 31, 2020 07:50 — forked from itorian/create-azure-vm-powershell.ps1
Create Azure Virtual Machine using PowerShell
# Login
Login-AzureRmAccount
# Variables for common values
$location = "westeurope"
$resourceGroup = "demo-resgroup-0"
$vmName = "demovm-0"
$publicIP = "spublicip-1"
$subnet = "subnet-1"
$vnet = "vnet-1"