< Back

Get-AzureRmHDInsightScriptActionHistory

Tue Jan 29, 2019 9:47 pm

NAME Get-AzureRmHDInsightScriptActionHistory



SYNOPSIS

Gets the script action history for a cluster and lists it in reverse chronological order, or gets details of a previously executed script action.





SYNTAX

Get-AzureRmHDInsightScriptActionHistory [-ClusterName] <String> [[-ScriptExecutionId] <Int64>] [-DefaultProfile <IAzureContextContainer>]

[-ResourceGroupName <String>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmHDInsightScriptActionHistory cmdlet gets the script action history for an Azure HDInsight cluster and lists it in reverse

chronological order, or gets details of a previously executed 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



-ResourceGroupName <String>

Specifies the name of the resource group.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ScriptExecutionId <Int64>

Specifies the execution ID of the executed script action.



Required? false

Position? 1

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.AzureHDInsightRuntimeScriptActionDetail]







NOTES









Example 1: Get the history of script actions executions for a cluster



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



This command gets the history of script actions for the cluster your-hadoop-001.







RELATED LINKS

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