Skip to content

Instantly share code, notes, and snippets.

@cwhitmore88
cwhitmore88 / NewWebServer.ps1
Created March 15, 2020 20:19 — forked from mikepfeiffer/NewWebServer.ps1
Quick AZ PowerShell Script to Create a Web Server
param(
$Name = 'cw-WEB1',
$Location = 'westus2',
$ResourceGroup = 'cw-WebServers'
)
New-AzResourceGroup -Name $ResourceGroup -Location $Location
$params = @{
Name = $Name