Articles → MICROSOFT AZURE → Connect To Azure Portal Using Powershell

Connect To Azure Portal Using Powershell






Steps




  1. Open PowerShell in the admin mode.
  2. Write the following command in the PowerShell.
  3. Connect-AzAccount


  4. A window will appear to enter the username and then the password.
  5. Picture showing the login page for logging into the Azure Portal.

    Click to Enlarge

  6. Another window will appear to verify your identity (either mobile number or email). Once the identity is verified, you are connected to the azure portal.
  7. Picture showing the PowerShell screen after the Powershell is connected to the azure portal.

    Click to Enlarge



How To Get The Subscription Information?




get-azsubscription 


Picture showing the PowerShell screen with the list of azure subscription

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, October 5, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250