< Back

Remove-AzureRmHDInsightCluster

Tue Jan 29, 2019 9:48 pm

NAME Remove-AzureRmHDInsightCluster



SYNOPSIS

Removes the specified HDInsight cluster from the current subscription.





SYNTAX

Remove-AzureRmHDInsightCluster [-ClusterName] <String> [-DefaultProfile <IAzureContextContainer>] [-ResourceGroupName <String>]

[<CommonParameters>]





DESCRIPTION

The Remove-AzureRmHDInsightCluster cmdlet removes the specified HDInsight service cluster from a subscription. This operation also deletes any

data stored in the Hadoop Distributed File System (HDFS) on the cluster. Data stored in the associated Azure Storage account is not deleted. Data

stored in external metastores is not deleted.





PARAMETERS

-ClusterName <String>

Specifies the name of the cluster.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Management.HDInsight.Models.ClusterGetResponse







NOTES









Example 1: Delete an Azure HDInsight cluster



PS C:\\>Remove-AzureRmHDInsightCluster -ClusterName "your-hadoop-001"



This command removes the cluster named your-hadoop-001.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ghtcluster

Get-AzureRmHDInsightCluster

Use-AzureRmHDInsightCluster