Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Launch Microsoft Azure Account with Powershell

Posted on 2016-10-12
5
59 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

This article will help you understand what HashTables are and how to use them in PowerShell.
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 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