Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 87
  • Last Modified:

Launch Microsoft Azure Account with Powershell

Hello Experts,

I have signed up to Microsofts Labs Online to train on Implementing Microsoft Azure.

As part of the lab we are told login our account from Powershell using the command 'Login-AzureRMAccount'. That works fine when I login from the lab, but I when run the command with powershell from my PC I get the following error:

acct
0
Member_2_7966113
Asked:
Member_2_7966113
  • 3
2 Solutions
 
Evan CutlerVolunteer Chief Information OfficerCommented:
You need the cmd-let.  Your lab probably already had them.

Go here: https://msdn.microsoft.com/en-us/library/mt125356.aspx

Make sure you have Windows Management Framework (WMF) 5.0 installed on your box.
Then run the install commands:

PS C:\> Install-Module AzureRM
PS C:\> Install-AzureRM

from there you can import all of the library components:

PS C:\> Import-AzureRM

or some of them:

PS C:\> Import-Module AzureRM.Compute
0
 
David Johnson, CD, MVPOwnerCommented:
0
 
Member_2_7966113Author Commented:
Evan Cutler, you're a star.

Login Screen now appears after entering the command to Login to Azure

Cheers mate.
0
 
Member_2_7966113Author Commented:
David,

Thank you too mate..
0
 
Member_2_7966113Author Commented:
Thank you very much guys
1
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now