Skip to content

Commit

Permalink
add ps install
Browse files Browse the repository at this point in the history
  • Loading branch information
mumian committed Dec 1, 2015
1 parent c8b1ffa commit ebaa894
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
28 changes: 25 additions & 3 deletions articles/hdinsight/hdinsight-administer-use-powershell.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
ms.tgt_pltfrm="na"
ms.devlang="na"
ms.topic="article"
ms.date="11/04/2015"
ms.date="12/01/2015"
ms.author="jgao"/>

# Manage Hadoop clusters in HDInsight by using Azure PowerShell
Expand All @@ -30,9 +30,31 @@ Azure PowerShell is a powerful scripting environment that you can use to control
Before you begin this article, you must have the following:

- **An Azure subscription**. See [Get Azure free trial](http://azure.microsoft.com/documentation/videos/get-azure-free-trial-for-testing-hadoop-in-hdinsight/).
- **A workstation with Azure PowerShell**. See [Install and use Azure PowerShell](http://azure.microsoft.com/documentation/videos/install-and-use-azure-powershell/).

> [AZURE.NOTE] The PowerShell scripts provided in this article uses the Azure resource manager mode. To ensure the samples work for you, please download the latest Azure PowerShell using the Microsoft Web Platform Installer.
##Install Azure PowerShell 1.0 and greater

There are two main options for installing Azure PowerShell.

- [Microsoft Web Platform Installer (WebPI)](http://aka.ms/webpi-azps). If you have Azure PowerShell 0.9.x installed, you will be prompted to uninstall 0.9.x. If you installed Azure PowerShell modules from PowerShell Gallery, the installer requires the modules be removed prior to installation to ensure a consistent Azure PowerShell Environment. For the instructions, see [Install Azure PowerShell 1.0 via WebPI](https://azure.microsoft.com/en-us/blog/azps-1-0/).

- [PowerShell Gallery](https://www.powershellgallery.com/). Run the following commands from PowerShell ISE or Windows PowerShell console:

# Install the Azure Resource Manager modules from PowerShell Gallery
Install-Module AzureRM
Install-AzureRM
# Install the Azure Service Management module from PowerShell Gallery
Install-Module Azure
# Import AzureRM modules for the given version manifest in the AzureRM module
Import-AzureRM
# Import Azure Service Management module
Import-Module Azure

For more information, see [PowerShell Gallery](https://www.powershellgallery.com/).

WebPI will receive monthly updates. PowerShell Gallery will receive updates on a continuous basis. If you are comfortable with installing from PowerShell Gallery, that will be the first channel for the latest and greatest in Azure PowerShell.

##Create clusters

Expand Down
4 changes: 2 additions & 2 deletions articles/hdinsight/hdinsight-analyze-flight-delay-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
ms.tgt_pltfrm="na"
ms.devlang="na"
ms.topic="article"
ms.date="11/11/2015"
ms.date="12/01/2015"
ms.author="jgao"/>

#Analyze flight delay data by using Hive in HDInsight
Expand Down Expand Up @@ -51,7 +51,7 @@ Before you begin this tutorial, you must have the following:

- **An Azure subscription**. See [Get Azure free trial](http://azure.microsoft.com/documentation/videos/get-azure-free-trial-for-testing-hadoop-in-hdinsight/).

- **A workstation with Azure PowerShell**. See [Install and use Azure PowerShell](http://azure.microsoft.com/documentation/videos/install-and-use-azure-powershell/).
- **A workstation with Azure PowerShell**. See [Install Azure PowerShell 1.0 and greater](hdinsight-administer-use-powershell.md#install-azure-powershell-1.0-and-greater).

**Files used in this tutorial**

Expand Down

0 comments on commit ebaa894

Please sign in to comment.