Solved

Launch Microsoft Azure Account with Powershell

Posted on 2016-10-12
5
61 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 250 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 80

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 250 total points
ID: 41840871
0
 

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
 

Author Comment

by:Member_2_7966113
ID: 41841832
David,

Thank you too mate..
0
 

Author Closing Comment

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

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
exchange 2016 suddenly stopped working 15 40
Permission on folders 6 20
disk usage reporting tools 27 48
PowerShell and cisco ios 3 40
In the market for a new backup solution for Windows Server 2016? Follow these guidelines to get the most bang for your buck.
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
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…

679 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