Do you know you can use Azure CLI In PowerShell from your PowerShell ISE from Windows PowerShell ISE itself? In this article, let me walk you through all those steps to do this.
How To Use Azure CLI In PowerShell
To use Azure CLI in PowerShell, follow the steps below.
1. The first step is you need to ensure that you have already installed Azure CLI on your local machine. You can install Azure CLI now if you have not yet installed it.
2. Now, open Windows PowerShell ISE with Run as administrator mode.

3. Now, we can verify if Azure CLI is installed using the Azure CLI command below.
az --versionAfter executing the above command, I got the expected output, as shown below. The Azure CLI version I installed was 2.67.0.

4. Now, we can execute the Az login command and enter the Azure credentials to authenticate with your Azure account.
az login5. Once authenticated, we can use any Azure CLI command to do any transaction.
az storage account listAfter executing the above command, I got the expected output, as shown in the screenshot below.

Conclusion
Using the steps mentioned in this article, it is so easy to use Azure CLI in PowerShell.
You may also like following the articles below.
- How To Use Azure CLI In Visual Studio Code
- How To Check Azure CLI Version In PowerShell
- Uninstall Azure CLI Windows
- Azure CLI vs PowerShell
- Azure CLI Tutorial

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
