IT Questions and Answers :)

Friday, May 17, 2019

Which of the following would log you into Azure Resource Manager via Powershell

Which of the following would log you into Azure Resource Manager via Powershell

  • login-azureaccount
  • login-azurermaccount
  • new-azuresession
  • login-azure 

 
Which of the following would log you into Azure Resource Manager via Powershell

EXPLANATION

Login-AzureRMAccount requires you have the AzureRM modules installed. and will prompt you for credentials. You can also extend this to login to a particular Subscription under that login.
For example: login-azurermaccount -subscriptionid "Dev Sub"

SOURCE

https://4sysops.com/archives/auto-login-to-azure-with-powershell/
Share:

0 comments:

Post a Comment

Popular Posts