Get-​Azure​Rm​HD​Insight​Persisted​Script​Action

Gets the persisted script actions for a cluster and lists them in chronological order, or gets details for a specified persisted script action.

Syntax

Get-AzureRmHDInsightPersistedScriptAction
   [-ClusterName] <String>
   [[-Name] <String>]
   [-ResourceGroupName <String>]
   [<CommonParameters>]

Description

The Get-AzureRmHDInsightPersistedScriptAction cmdlet gets the persisted script actions for an Azure HDInsight cluster and lists them in chronological order, or gets details for a specified persisted script action.

Examples

Example 1: Get the persisted script actions on a cluster

PS C:\>Get-AzureRmHDInsightPersistedScriptAction -ClusterName "your-hadoop-001"

This command gets persisted script actions on the cluster named your-hadoop-001.

Required Parameters

-ClusterName

Specifies the name of the cluster.

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Name

Specifies the name of the persisted script action.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False