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)