Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update readme.md for 0.7.0

  • Loading branch information...
commit d3541f15b0ac03411e267380fdd1b209341f557b 1 parent 89c1289
@guangyang guangyang authored
Showing with 25 additions and 8 deletions.
  1. +25 −8 README.md
View
33 README.md
@@ -10,8 +10,9 @@ This repository contains a set of PowerShell cmdlets for developers and administ
* Account
* Get and import Azure publish settings
+ * Login with Microsoft account or Organizational account through Windows Azure Active Directory
* Environment
- * Get the differnet out-of-box Windows Azure environments
+ * Get the different out-of-box Windows Azure environments
* Add/Set/Remove customized environments (like your Windows Azure Pack environments)
* Get Azure publish settings for a particular environment
* Subscription
@@ -30,8 +31,8 @@ This repository contains a set of PowerShell cmdlets for developers and administ
* Start/Stop Azure emulator.
* Manage certificate.
* Manage cloud service extensions
- * Remote desktoo
- * Diagnostics
+ * Remote desktop
+ * Diagnostics
* Storage
* Manage storage account and access key.
* Manage storage container and blob.
@@ -61,7 +62,7 @@ This repository contains a set of PowerShell cmdlets for developers and administ
* View available Windows Azure Store Add-On plans.
* Purchase, view, upgrade and remove Windows Azure Store Add-On instances.
* Utility
- * Test whether a name is avaiable. Currently support cloud service name, storage account name and service bus namespace name.
+ * Test whether a name is available. Currently support cloud service name, storage account name and service bus namespace name.
* Get the list of geo locations supported by Azure.
* Get the list of OS supported by Azure.
* Direct you to Azure portal.
@@ -106,14 +107,29 @@ You can also find the standalone installers for all the versions at [Downloads](
In general, following are the steps to start using Windows Azure PowerShell
-1. Get the publish settings information of your subscription
-2. Import the information into Windows Azure PowerShell
-3. Use the cmdlets
+* Get yourself authenticated with Windows Azure. For details, please check out [this article](http://www.windowsazure.com/en-us/manage/install-and-configure-windows-powershell/).
+ * Option 1: Login with your Microsoft account or Organizational account directly from PowerShell. Windows Azure Active Directory authentication is used in this case. No management certificate is needed.
+ * Option 2: Download and import a publish settings file which contains a management certificate.
+* Use the cmdlets
The first step can be different for different environment you are targeting. Following are detail instructions for each supported environment.
## Windows Azure
+If you use both mechanisms on the same subscription, Windows Azure Active Directory authentication always wins. If you want to go back to management certificate authentication, please use ``Remove-AzureAccount``, which will remove the Windows Azure Active Directory information and bring management certificate authentication back in.
+
+### Login directly from PowerShell (Windows Azure Active Directory authentication)
+
+```powershell
+# Pop up an embedded browser control for you to login
+Add-AzureAccount
+
+# use the cmdlets to manage your services/applications
+New-AzureWebsite -Name mywebsite -Location "West US"
+```
+
+### Using publish settings file (Management certificate authentication)
+
```powershell
# Download a file which contains the publish settings information of your subscription.
# This will open a browser window and ask you to log in to get the file.
@@ -127,6 +143,7 @@ Import-AzurePublishSettingsFile "<file location>"
# Use the cmdlets to manage your services/applications
New-AzureWebsite -Name mywebsite -Location "West US"
```
+
## Windows Azure China
```powershell
@@ -212,4 +229,4 @@ If you encounter any bugs with the library please file an issue in the [Issues](
# Learn More
-* [Windows Azure Developer Center](http://www.windowsazure.com/en-us/develop)
+* [Windows Azure Script Center](http://www.windowsazure.com/en-us/documentation/scripts/)
Please sign in to comment.
Something went wrong with that request. Please try again.