Verify Azure CLI Installation

Once the installation is complete, you can verify the installation was successful or not by by just typing the command az or az -h:

az

This az command will list the available Azure CLI commands.

az -h

This will also list the available Azure CLI commands. Check out the sample output for better understanding.

Sample Output:

If you wish to check the Azure CLI then you may check the version of Az CLI on your system by running this below command:

az version





This will list the versions of azure cli, azure cli core, azure cli telemetry and extensions version if any.

Sample Output:

To build your own CLI extension refer to Microsoft Azure – Building Your Own Azure CLI Extensions.

Microsoft Azure – Install Azure Command Line Interface (Azure CLI)

Azure CLI is a very powerful tool that can be used to automate tasks, create, update, manage or delete azure resources or to troubleshoot problems with az module cmdlets. By installing az modules on your system or on your development system you and your development team can easily create, update or manage Azure AD and Azure resources such as management groups, subscriptions, resource groups, virtual machines, virtual networks, storage accounts, web apps or any other Azure native services directly from the command line interface.

If you are looking for a powerful and easy-to-use way to manage Azure resources, then you must definitely learn and make use of this Azure CLI command line tool to simplify the management across Azure services.

Similar Reads

Requirements

One should have administrator privileges on Windows System to install Azure CLI. The Azure CLI installer requires .NET Framework 4.7.2 or later....

Steps for Installing Azure CLI

Step 1: To install the Azure Command Line Interface (Azure CLI) we have to open Windows PowerShell from your system and select Run as Administrator. To Know the commands in Azure CLI to maintain the VMS refer to the Microsoft Azure – Azure CLI Commands to Manage Azure VMs....

Verify Azure CLI Installation

Once the installation is complete, you can verify the installation was successful or not by by just typing the command az or az -h:...

Clean Up or Uninstall Azure CLI from your Environment:

On your Desktop Click on Windows Start button > Go to Settings > select Apps >> select Apps & Features >> Search for Azure CLI >> Select Azure CLI service >> Click on Uninstall to continue the removal of Azure CLI....

Verify Uninstallation of Azure CLI

Open Azure PowerShell or Command Prompt and type “az –version.” If you are not getting any preview of Azure CLI, then you have successfully removed Azure CLI from your environment....

FAQs On Azure Command Line Interface (Azure CLI)

1. In What Ways Can We Use Azure CLI?...