As you know,Azure China Login Portal address is:www.azure.cn, in fact , Azure can also be logged in another way, that is PowerShell login, Individuals think that Web login can operate less flexible content, the use of PowerShell login operations more flexible content, this article describes how to use PowerShell to sign in to Azure
First, you need to download a tool first
Click on one of the cloud services in the cloud service and select "Install Microsoft Azure SDK"
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7E/FE/wKiom1cPEIaAI-iaAAEDJCaJEcM250.png "title=" 1.png " alt= "Wkiom1cpeiaai-iaaaedjcajecm250.png"/>
Pop-Up page select PowerShell installation
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7E/FB/wKioL1cPEXDikiXaAABVL6c4lnc261.png "title=" 2.png " alt= "Wkiol1cpexdikixaaabvl6c4lnc261.png"/>
Download and install
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7E/FB/wKioL1cPEX3gU6gzAABEJl1-QOY235.png "title=" 3.png " alt= "Wkiol1cpex3gu6gzaabejl1-qoy235.png"/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7E/FB/wKioL1cPEYiRGxgQAAECKVHyyrM341.png "title=" 4.png " alt= "Wkiol1cpeyirgxgqaaeckvhyyrm341.png"/>
Restart your computer after you complete the installation
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7E/FE/wKiom1cPENzRwpFZAACcLG26vBo861.png "title=" 5.png " alt= "Wkiom1cpenzrwpfzaacclg26vbo861.png"/>
Download Public settings file
Chinese Version: get-azurepublishsettingsfile-environment "Azurechinacloud"
International Version: get-azurepublishsettingsfile-environment "Azurecloud"
open automatically after running the command IE Enter your azure account password to download the configuration file
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7E/FB/wKioL1cPEf2yqBUBAAAXRssVgUI254.png "title=" 11.png "alt=" Wkiol1cpef2yqbubaaaxrssvgui254.png "/>
Download configuration file
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7E/FB/wKioL1cPEgezLaDqAABWwXsEPvY602.png "title=" 6.png " alt= "Wkiol1cpegezladqaabwwxsepvy602.png"/>
Import configuration file
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7E/FE/wKiom1cPEV3wX1zcAAAiCAFnhLs712.png "title=" 7.png " alt= "Wkiom1cpev3wx1zcaaaicafnhls712.png"/>
to verify that the Azure connection is successful, run the GET-AZUREVM command to view the virtual machine, indicating that it has been successfully connected
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7E/FB/wKioL1cPEiKDn0DGAAAUy5sn7mg667.png "title=" 8.png " alt= "Wkiol1cpeikdn0dgaaauy5sn7mg667.png"/>
View subscription Status
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7E/FE/wKiom1cPEXzywTUVAAAeh-g9qxA129.png "title=" 9.png " alt= "Wkiom1cpexzywtuvaaaeh-g9qxa129.png"/>
This will make it successful to use Azure PowerShell to connect to Azure, and the next blog post will be dedicated to the common commands for Azure PowerShell
This article is from the "Shentaohuang" blog, make sure to keep this source http://1392814.blog.51cto.com/1382814/1763721
Windows Azure PowerShell Login method