Azure China--1 How to connect to Azure with Azure PowerShell

Source: Internet
Author: User
Tags azure sdk

1. Download the azure SDK. Install Azure PowerShell

Http://azure.microsoft.com/zh-cn/downloads/?rnd=1

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/58/3c/wkiom1ssyhetzmpiaab0k4espsq918.jpg "height=" 279 "/>

2. Download Azure Public settings File

get-azurepublishsettingsfile-environment "Azurechinacloud" ( Chinese version) , get-azurepublishsettingsfile-environment "Azurecloud" (International Version)


After running automatically open IE, use account login after download setting file, for example, save the file
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/M00/58/3C/wKiom1SsyHfSFyxBAABD7cokN48104.jpg "height="/>

3.import-azurepublishsettingsfile "<file location>" Import the settings file you just downloaded (the file is in the directory where the command resides )

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/M01/58/3C/wKiom1SsyHfxJA1qAADq7ZRl2mA822.jpg "height=" 225 "/>

4. Check if the connection is successful.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/58/3c/wkiom1ssyvyihcevaadgr0s3j8g111.jpg "height=" 205 "/>

5. If you have imported multiple subscriptions, you can use Select-azuresubscription to select them. Check the subscription get-azuresubscription first

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/58/3c/wkiom1ssyhibqgdfaaf7zbqdcce818.jpg "height=" 332 "/>

6. Select the subscription.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/58/3c/wkiom1ssyhishmkuaabt2yx7bag451.jpg "height=" 119 "/>

This article is from the "Month Missing" blog, please be sure to keep this source http://yueque.blog.51cto.com/4580340/1600136

Azure China--1 How to connect to Azure with Azure PowerShell

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.