Microsoft Azure: Configure the Azure for PowerShell local management environment

Source: Internet
Author: User

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

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.