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.