1: # Subscribe to the Credit connection setup problem (only with login credit, other required credit is given later)
2: # Get credit Documents
3: # First behavior Microsoft Azure (WW)
4: # Second act China Azure
5:get-azurepublishsettingsfile
6:get-azurepublishsettingsfile-environment Azurechinacloud
7:get-azurepublishsettingsfile-environment Azurecloud
8:
9: # Import the credit file, no geographical designation (geographical designation is already included in the credit file obtained above)
10:import-azurepublishsettingsfile–publishsettingsfile ' C:\Visual Studio Ultimate with Msdn-9-5-2014-credentials.publishsettings '
11:import-azurepublishsettingsfile–publishsettingsfile ' C + free trial -9-5-2014-credentials.publishsettings '
12:
13: # Get full native already imported subscription information
14:get-azuresubscription
15: # Get the default subscription name (use a database that has its own default database for each session)
: (Get-azuresubscription-default). Subscriptionname
17: # Get specific subscription information for all subscriptions
18:get-azuresubscription | Format-list-property subscriptionname,isdefault,serviceendpoint,certificate
19:
20: # Specify the subscription you want to use (using use Userdatabasename in a database similar to the usage)
21:set-azuresubscription-subscriptionname ' Visual Studio Ultimate with MSDN '
22:set-azuresubscription-subscriptionname ' free trial '
23:
24:select-azuresubscription-subscriptionname ' msbigdatastu09 '
This article from "Fast" blog, declined reprint!
Microsoft Azure: Configure the Azure for PowerShell local management environment