Export (0) Print
Expand All

Remove-AzureHDInsightCluster

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Remove-AzureHDInsightCluster

Deletes the specified HDInsight cluster from your Windows Azure subscription.

Syntax

Parameter Set: Cluster By Name (with Specific Subscription Credential)
Remove-AzureHDInsightCluster [-Name] <String> [[-Subscription] <String> ] [[-Certificate] <X509Certificate2> ] [[-Endpoint] <Uri> ] [[-HostedService] <String> ] [ <CommonParameters>]




Detailed Description

Deletes the specified HDInsight Service cluster. This will also delete any data stored in HDFS on the cluster. Data stored in the associated Windows Azure Storage Account will not be deleted.

This topic describes the cmdlet in the 0.8.1 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version.

Parameters

-Certificate<X509Certificate2>

Management certificate of the Azure subscription.


Aliases

Cert

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Endpoint<Uri>

Specifies the endpoint to use when connecting to Windows Azure if the endpoint is different from the default.


Aliases

none

Required?

false

Position?

5

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-HostedService<String>

The namespace of the Azure HDInsight Service if it is different from the default.


Aliases

CloudServiceName

Required?

false

Position?

6

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

The name of the HDInsight cluster to be removed.


Aliases

ClusterName,DnsName

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Subscription<String>

The subscription account containing the HDInsight cluster to be removed.


Aliases

Sub

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

 

Remove cluster

Delete a specified HDInsight cluster.


 

PS C:\> Remove-AzureHDInsightCluster -Name HDICluster 

Show:
© 2015 Microsoft