page contents My title page contents A Blog on Tools, Techniques and Announcements: How to install and configure Azure PowerShell - Microsoft Azure

Friday, September 2, 2016

How to install and configure Azure PowerShell - Microsoft Azure


What is Azure PowerShell?

Azure PowerShell is a set of modules that provide cmdlets to manage Azure with Windows PowerShell. You can use the cmdlets to create, test, deploy, and manage solutions and services delivered through the Azure platform. In most cases, the cmdlets can be used for the same tasks as the Azure Management Portal, such as creating and configuring cloud services, virtual machines, virtual networks, and web apps.

Step 1: Install

Following are the two methods by which you can install Azure PowerShell. You can install it either from WebPI, or the PowerShell Gallery:
Installing Azure PowerShell from WebPI
Installing Azure PowerShell 1.0 and greater from WebPI is the same as it was for 0.9.x. Download Azure PowerShell and start the install. If you have Azure PowerShell 0.9.x installed, version 0.9.x will be uninstalled as part of the upgrade. If you installed Azure PowerShell modules from PowerShell Gallery, the installer automatically removes the modules before installation to ensure a consistent Azure PowerShell environment.
image[3]
Run the File
image
 
PowerShell for Azure has been Installed
image
Reboot,
Power has Azure Modules Imported, you can also verify the version
image
Make sure that you update PowerShell
PS C:\> update-help –Force
Check some of the Azure Commands with using the noun
image

PS C:\Add-AzureAccount
This opens a windows which will prompt you to enter the credentials

image
Once you enter the credentials, you would see your subscription information
image
View Additional Information on your subscription, Always check this before executing any commands
Currently I am using a trail Subscription and it shows the details below
image

If you Wish to sign out of this Azure Account, use the command Below :-
PS C:\Remove-Azureaccount -name v_2maxa@live.com
image
Thanks for Reading









1 comment:

  1. This information really worth saying, i think you are master of the content and thank you so much sharing that valuable information and get new skills after refer that post.
    AWS Training in Chennai

    ReplyDelete