PowerShell Import subscription number (for Azure China Edition as an example)

Source: Internet
Author: User

1. First, you need to install Windows Azure Powershell. The download link is: http://go.microsoft.com/?linkid=9811175&clcid=0x409

2. When performing related operations using Azure PowerShell, you first need to download the Publishsettingsfile

A. Executing get-azureenvironment with Azure PowerShell

B. Azure PowerShell execution Get-azurepublishsettingsfile-environment Azurechinacloud

After executing this command, the download file (publishsettingsfile) page opens, and when the file is downloaded, the account name and password of the customer on the Azure platform are required.

C. Azure PowerShell execution import-azurepublishsettingsfile + downloaded file path (for example: D:\matthew.publishsettings)

Execute this command to import the downloaded file (publishsettingsfile) to successfully enter the subscription account. As you can see below, ' free trial ' has been set to the new default subscription name.

As you can see below, ' free trial ' has been set to the new default subscription name.

PowerShell Import subscription number (for Azure China Edition as an example)

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.