Beginner's Guide: Installing Azure CLI on PowerShell and Signing in to Azure via PowerShell CLI.

I have a solid background in cloud computing ideas and a strong desire to use cloud technology to address practical issues. I am an enthusiastic and driven cloud developer. Equipped with practical AWS and Azure knowledge, I'm excited to advance in the cloud development industry and add value to dynamic teams.
I am chronicling my daily experiences in the realm of cloud computing on this blog.
To install the Azure CLI on PowerShell and local host and sign in to Azure, follow these steps:
Step 1: Install Azure CLI
Open PowerShell as an Administrator:
- Right-click on the Start menu and select "Run as administrator".
Run the Installation Command:
Execute the following command to download and install the Azure CLI:
$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; Remove-Item .\AzureCLI.msi
Verify the Installation:
- After the installation is complete, verify it by running the command:
az --version
- After the installation is complete, verify it by running the command:

Step 2: Sign in to Azure
Open PowerShell and Sign to to Azure: using the following command -
az loginThis command will open a web browser window where you can enter your Azure credentials. After successful authentication, the browser will display a message indicating that you have signed in.


Hit Enter:

Verify the Sign-in:
To confirm that you are signed in, you can list your Azure subscriptions with the command:
az account list
By following these steps, you will have the Azure CLI installed on PowerShell and be signed in to your Azure account.
Let's confirm by creating a resource group via PowerShell.
Use the command: az group create --name chako --location uksouth

Confirm that it has been created on the Azure portal.




