Microsoft Azure series Quad micorosft Azure Powershell Management

Source: Internet
Author: User

Microsoft Azure provides the following two ways to manage Azure services and resources

One, the Azure portal

Two, Azure Powershell

You'll need to sign in with one or more Microsoft accounts or organizational accounts related to your Azure subscription.

In this article we'll look at how to use Azure Powershell

工欲善其事, its prerequisite.

Download the Azure PowerShell command-line tool first

: https://www.azure.cn/downloads/

650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image002 "src=" http://s3.51cto.com/wyfs02/M02/7E/87/wKioL1cDjfGTJEWDAAAsjswpV0s499.jpg "height=" 147 "/>

To see if an azure module is available

650) this.width=650; "title=" clip_image004 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image004 "src=" http://s3.51cto.com/wyfs02/M02/7E/87/wKioL1cDjfLiH0RaAABPVfCdwIQ861.jpg "height=" 131 "/>

See the number of all Azure commands

650) this.width=650; "title=" clip_image006 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image006 "src=" http://s3.51cto.com/wyfs02/M01/7E/87/wKioL1cDjfOwt3ipAAA2eEGjtZE466.jpg "height="/>

Below we add Azure managed account

Add an Azure Account

(Chinese version of Azure requires parameter-enviroment azurechinacloud)

650) this.width=650; "title=" clip_image008 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image008 "src=" http://s3.51cto.com/wyfs02/M02/7E/8A/wKiom1cDjUnwaEJ-AAAkV9tlQLw735.jpg "height=" "/>"

Enter your Azure account and password

650) this.width=650; "title=" clip_image009 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image009 "src=" http://s3.51cto.com/wyfs02/M02/7E/8A/wKiom1cDjUnTRCrgAABVcWEXLb4303.png "height=" 552 "/>

View Azure Subscription Status

650) this.width=650; "title=" clip_image011 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image011 "src=" http://s3.51cto.com/wyfs02/M02/7E/87/wKioL1cDjfWB7ri1AAC3LXa3vec233.jpg "height=" 280 "/>

Select a subscription as the current subscription (all subsequent commands to this subscription action)

650) this.width=650; "title=" clip_image013 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image013 "src=" http://s3.51cto.com/wyfs02/M01/7E/8A/wKiom1cDjUqxUcxUAAAjfQljptk996.jpg "height="/>

Then you can manage it.

Such as:

1. Query Virtual Machine Information

650) this.width=650; "title=" clip_image015 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image015 "src=" http://s3.51cto.com/wyfs02/M02/7E/8A/wKiom1cDjUuiJrEMAAB3lQ_IjN8004.jpg "height=" 218 "/>

2. View Storage account information

650) this.width=650; "title=" clip_image017 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image017 "src=" http://s3.51cto.com/wyfs02/M02/7E/87/wKioL1cDjfbiKd7NAACBKSeizww159.jpg "height=" 203 "/>

There are very many Azure commands, and there are many parameters for each command. So it's not realistic to master it all. So in addition to mastering some common commands, but also to know some commands to use Help

1. Get-command to search for commands with wildcard characters
To create a virtual machine now, we know that the command contains the NEW-AZUREVM keyword

650) this.width=650; "title=" clip_image019 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image019 "src=" http://s3.51cto.com/wyfs02/M02/7E/87/wKioL1cDjffgXCzpAACOEQn0gN0340.jpg "height=" 164 "/>

2. Get-help View command parameters and common usage examples

View command Parameters

650) this.width=650; "title=" clip_image021 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image021 "src=" http://s3.51cto.com/wyfs02/M01/7E/8A/wKiom1cDjU3TDc_LAAB0wEa5_vY580.jpg "height=" 159 "/>

View commands common usage examples (plus-examples information more accurate)

650) this.width=650; "title=" clip_image023 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image023 "src=" http://s3.51cto.com/wyfs02/M02/7E/8A/wKiom1cDjU6j7HjxAACJ-o3PT7Q450.jpg "height=" 212 "/>

Description

The micorosft Azure Portal implements most of the management functionality, but some customizations or advanced features still need to be implemented by Azure Powershell. (such as setting a reserved IP address for a virtual machine, binding a virtual network vnet to a cloud service, setting up a vnet-tovnet VPN, etc.)

Microsoft Azure series Quad micorosft Azure Powershell Management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.