Microsoft Azure PowerShell - HDInsight service cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.

For more information on HDInsight, please visit the following:

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Az.HDInsight -RequiredVersion 3.0.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Microsoft Corporation


Microsoft Corporation. All rights reserved.



Azure ResourceManager ARM HDInsight


Get-AzHDInsightJob New-AzHDInsightSqoopJobDefinition Wait-AzHDInsightJob New-AzHDInsightStreamingMapReduceJobDefinition New-AzHDInsightMapReduceJobDefinition New-AzHDInsightPigJobDefinition New-AzHDInsightHiveJobDefinition Get-AzHDInsightJobOutput Invoke-AzHDInsightHiveJob Use-AzHDInsightCluster Stop-AzHDInsightJob Start-AzHDInsightJob Add-AzHDInsightComponentVersion Add-AzHDInsightSecurityProfile Set-AzHDInsightDefaultStorage Add-AzHDInsightStorage Add-AzHDInsightScriptAction Add-AzHDInsightMetastore Add-AzHDInsightConfigValue Get-AzHDInsightProperty Set-AzHDInsightGatewayCredential New-AzHDInsightClusterConfig Remove-AzHDInsightCluster Set-AzHDInsightClusterSize Get-AzHDInsightPersistedScriptAction Get-AzHDInsightScriptActionHistory Remove-AzHDInsightPersistedScriptAction Set-AzHDInsightPersistedScriptAction Submit-AzHDInsightScriptAction Get-AzHDInsightCluster New-AzHDInsightCluster Add-AzHDInsightClusterIdentity Enable-AzHDInsightMonitoring Disable-AzHDInsightMonitoring Get-AzHDInsightMonitoring


Core Desktop


Release Notes

* Fixed the bug that customer will get 'Not a valid Base-64 string' error when using Get-AzHDInsightCluster to get the cluster with ADLSGen1 storage.
* Add a parameter named 'ApplicationId' to three cmdlets Add-AzHDInsightClusterIdentity, New-AzHDInsightClusterConfig and New-AzHDInsightCluster so that customer can provide the service principal application id for accessing Azure Data Lake.
* Changed Microsoft.Azure.Management.HDInsight from 2.1.0 to 5.1.0
* Removed five cmdlets:
   - Get-AzHDInsightOMS
   - Enable-AzHDInsightOMS
   - Disable-AzHDInsightOMS
   - Grant-AzHDInsightRdpServicesAccess
   - Revoke-AzHDInsightRdpServicesAccess
* Added three cmdlets:
   - Get-AzHDInsightMonitoring to replace Get-AzHDInsightOMS.
   - Enable-AzHDInsightMonitoring to replace Enable-AzHDInsightOMS.
   - Disable-AzHDInsightMonitoring to replace Disable-AzHDInsightOMS.
* Fixed cmdlet Get-AzHDInsightProperties to support get capabilities information from a specific location.
* Removed parameter sets('Spark1', 'Spark2') from Add-AzHDInsightConfigValue.
* Add examples to the help documents of cmdlet Add-AzHDInsightSecurityProfile.
* Changed output type of the following cmdlets:
*  - Changed the output type of Get-AzHDInsightProperties from  CapabilitiesResponse to AzureHDInsightCapabilities.
*  - Changed the output type of Remove-AzHDInsightCluster from ClusterGetResponse to bool.
*  - Changed the output type of Set-AzHDInsightGatewaySettings HttpConnectivitySettings to GatewaySettings.
* Added some scenario test cases.
* Remove some alias: 'Add-AzHDInsightConfigValues', 'Get-AzHDInsightProperties'.

Version History

Version Downloads Last updated
3.0.2 213,942 1/7/2020
3.0.1 314,758 12/17/2019
3.0.0 (current version) 757,295 11/4/2019
3.0.0-preview 24 9/9/2019
2.0.2 433,907 9/24/2019
2.0.1 283,786 8/27/2019
2.0.0 922,341 5/6/2019
1.1.0 259,072 4/23/2019
1.0.0 366,118 12/18/2018