< Back

Get-AzureRmHDInsightPersistedScriptAction

Tue Jan 29, 2019 9:47 pm

NAME Get-AzureRmHDInsightPersistedScriptAction



SYNOPSIS

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>] [-DefaultProfile <IAzureContextContainer>]

[-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.





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



-Name <String>

Specifies the name of the persisted script action.



Required? false

Position? 1

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

System.Collections.Generic.IList`1[Microsoft.Azure.Commands.HDInsight.Models.Management.AzureHDInsightRuntimeScriptAction]







NOTES









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.







RELATED LINKS

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

Remove-AzureRmHDInsightPersistedScriptAction

Set-AzureRmHDInsightPersistedScriptAction