Skip to content

PowerShell CLI Examples

The following are a few examples of using the PowerShell terminal within Azure, either via the online console or by utilising the Azure Command Line Tools. See Using Azure CLI from a Command Prompt for details on how to set this up.

The sister document to this is BASH Examples.

Create a Resource Group

New-AzResourceGroup -Name NewResourceGroupName-rg -Location westus