Create an AppService with Azure PowerShell
2 min readMay 16, 2019
I will share in this article my first steps using Azure PowerShell and the new Az CLI.
Get-Command
The Get-Command cmdlet gets all commands that are installed on the computer. For example, if you were looking for all the commands that would allow manipulating an App Service you would type:
Get-Command *AzWebApp*
Create an AppService
Create a Resource Group
New-AzResourceGroup Name "Location"
Create an App Service Plan
New-AzAppServicePlan -ResourceGroupName "TestPowerShell" -Name "iamtestinghere" -Location "UK South" -Tier "Free"
Create the App Service
New-AzWebApp -ResourceGroupName TestPowerShell -Name "MyPowerShellWebApp" -Location "UK South" -AppServicePlan "iamtestinghere"
Conclusions
I was surprised by how easy is to remember the different Azure cmdlets. Cmdlets naming conventions are easy to use.