Powershell connection to China azure

Source: Internet
Author: User

Because China azure and global azure are different services, the commands for global azure do not apply completely to China azure. Currently, the add-azureaccount command address points to global. We can use the import-azurepublishsettingsfile command to connect to China azure.

The procedure is as follows:

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

2. Run as Administrator after installation. Right-click the powershell icon and choose "Run as administrator;

3. Run the get-azurepublishsettingsfile-Environment "azurechinacloud" command to download the publishing configuration file of your windows azure subcategory on the open page;

4. Run import-azurepublishsettingsfile in powershell to "Publish the local storage path of the configuration file ";

Powershell connection 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.