Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Launch Microsoft Azure Account with Powershell

Posted on 2016-10-12
5
Medium Priority
?
82 Views
Last Modified: 2016-10-13
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
Comment
Question by:Member_2_7966113
  • 3
5 Comments
 
LVL 9

Accepted Solution

by:
Evan Cutler earned 1000 total points
ID: 41840849
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
 
LVL 84

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 1000 total points
ID: 41840871
0
 
LVL 1

Author Comment

by:Member_2_7966113
ID: 41841779
Evan Cutler, you're a star.

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

Cheers mate.
0
 
LVL 1

Author Comment

by:Member_2_7966113
ID: 41841832
David,

Thank you too mate..
0
 
LVL 1

Author Closing Comment

by:Member_2_7966113
ID: 41841834
Thank you very much guys
1

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
As managed cloud service providers, we often get asked to intervene when cloud deployments go awry. Attracted by apparent ease-of-use, flexibility and low computing costs, companies quickly adopt leading public cloud platforms such as Amazon Web Ser…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question