Azure CLI

Azure CLI (Command Line Interface) is a Tool to manage Azure resources.  You can download it from following location.

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

Once installed you can open command prompt > type command az

image

Commands

Few common commands are following:

help to get list of commands

eg: az help

image

login to login to azure portal

eg: az login

image

group to operate on resource groups. (Sub command required)

eg: az group list

image

az interactive you can use this command to have Interactive Commands which will help with Auto-complete & Colored interfaces.

image

Under the Hood

Azure CLI uses Azure REST API for performing the actions.

Azure CLI is open source

Azure CLI is more readable compared with PowerShell

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s