PowerShell connects to China Azure

Source: Internet
Author: User

Because China Azure and global azure belong to different services, the commands that apply to global azure are not fully applicable to China Azure. Currently, theadd-azureaccount command address points to global, and we can connect to China Azure via the import-azurepublishsettingsfile command.

The steps are as follows:

1. Download and install Windows Azure powershell:http://www from the official website page. windowsazure.cn/zh-cn/downloads/#cmd-line-tools

2. After installation, run as Administrator, right click on the PowerShell icon and select Run as Administrator;

3. Execute the command get-azurepublishsettingsfile-environment "Azurechinacloud" To download your Windows Azure subscription publishing profile from the open page;

4. Execute the Import-azurepublishsettingsfile "Publish profile local Storage path" in PowerShell;

PowerShell connects to China Azure

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.