Azure HDInsight Cmdlets
TOC
Collapse the table of content
Expand the table of content

Azure HDInsight Cmdlets

Updated: July 22, 2016

Applies To: Azure PowerShell 1.0

The topics in this section document the Azure PowerShell cmdlets for Microsoft Azure HDInsight in the Azure Resource Manager (ARM) framework. These cmdlets are used to manage HDInsight clusters and the jobs that run on them. The cmdlets exist in the Microsoft.Azure.Commands.HDInsight namespace.

Azure PowerShell is a command-line shell and scripting language designed to help information technology (IT) professionals automate system administration tasks. To install the latest Azure PowerShell version and associate it with your Azure subscription, see How to install and configure Azure PowerShell.

The following table contains links to the topics for the Azure HDInsight Cmdlets:

 

Name Description

Add-AzureRmHDInsightClusterIdentity

Adds a cluster identity to an HDInsight cluster configuration.

Add-AzureRmHDInsightConfigValues

Adds custom configuration values to a cluster configuration object.

Add-AzureRmHDInsightMetastore

Adds a Hive or Oozie metastore to a cluster configuration object.

Add-AzureRmHDInsightScriptAction

Adds a script action to a cluster configuration object.

Add-AzureRmHDInsightStorage

Adds an Azure Storage key to a cluster configuration object.

Get-AzureRmHDInsightCluster

Gets and lists all of the Azure HDInsight clusters associated with the current subscription or a specified resource group, or retrieves a specific cluster.

Get-AzureRmHDInsightJob

Gets the list of jobs from a cluster and lists them in reverse chronological order, or retrieves a specific job.

Get-AzureRmHDInsightJobOutput

Gets the log output for a job from the storage account associated with a specified cluster.

Get-AzureRmHDInsightPersistedScriptAction

Gets persisted script actions in chronological order.

Get-AzureRmHDInsightProperties

Gets properties about the HDInsight service, such as available locations and capacity.

Get-AzureRmHDInsightScriptActionHistory

Gets the script action history for a cluster.

Grant-AzureRmHDInsightHttpServicesAccess

Grants HTTP access to a cluster.

Grant-AzureRmHDInsightRdpServicesAccess

Grants RDP access to a cluster.

Invoke-AzureRmHDInsightHiveJob

Submits Hive queries to a cluster.

New-AzureRmHDInsightCluster

Creates a Azure HDInsight cluster in the specified resource group for the current subscription.

New-AzureRmHDInsightClusterConfig

Creates a non-persisted configuration that describes a Azure HDInsight cluster configuration.

New-AzureRmHDInsightHiveJobDefinition

Creates a Hive job object.

New-AzureRmHDInsightMapReduceJobDefinition

Creates a MapReduce job object.

New-AzureRmHDInsightPigJobDefinition

Creates a Pig job object.

New-AzureRmHDInsightSqoopJobDefinition

Defines a Sqoop job object.

New-AzureRmHDInsightStreamingMapReduceJobDefinition

Creates a Streaming MapReduce job object.

Remove-AzureRmHDInsightCluster

Deletes the specified HDInsight cluster the current subscription.

Remove-AzureRmHDInsightPersistedScriptAction

Removes a persisted script action.

Revoke-AzureRmHDInsightHttpServicesAccess

Disables HTTP access to a cluster.

Revoke-AzureRmHDInsightRdpServicesAccess

Disables RDP access to a cluster.

Set-AzureRmHDInsightClusterSize

Sets the size of a specified cluster.

Set-AzureRmHDInsightDefaultStorage

Sets the default storage account setting in a cluster configuration object.

Set-AzureRmHDInsightPersistedScriptAction

Promotes a script action to be a persisted script.

Start-AzureRmHDInsightJob

Starts a given job on a cluster.

Stop-AzureRmHDInsightJob

Stops a specified job on a cluster.

Submit-AzureRmHDInsightScriptAction

Submits a script action to a cluster.

Use-AzureRmHDInsightCluster

Selects a cluster to be used with the Invoke-AzureRmHDInsightHiveJob cmdlet.

Wait-AzureRmHDInsightJob

Waits for the completion or failure of a specified job and displays its progress.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

See Also

Show:
© 2016 Microsoft