Last active
May 1, 2024 16:56
Revisions
-
mikepfeiffer renamed this gist
Nov 2, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
mikepfeiffer created this gist
Nov 2, 2020 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ # Create variables $webappname = "mywebapp$(Get-Random)" $rgname = 'webapps3-dev-rg' $location = 'westus2' # Create a resource group New-AzResourceGroup -Name $rgname -Location $location # Create an App Service plan in S1 tier New-AzAppServicePlan -Name $webappname -Location $location -ResourceGroupName $rgname -Tier S1 # Create a web app New-AzWebApp -Name $webappname -Location $location -AppServicePlan $webappname -ResourceGroupName $rgname