Solved

Launch Microsoft Azure Account with Powershell

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
A brief introduction to what I consider to be the best editor for PowerShell.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

785 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