< Back
Remove-AzureRmHDInsightPersistedScriptAction
Post
NAME Remove-AzureRmHDInsightPersistedScriptAction
SYNOPSIS
Removes an persisted script action from an HDInsight cluster.
SYNTAX
Remove-AzureRmHDInsightPersistedScriptAction [-ClusterName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>]
[-ResourceGroupName <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmHDInsightPersistedScriptAction cmdlet removes a persisted script action from the specified Azure HDInsight cluster's list of
persisted script actions. The removed script will no longer be executed when the cluster is scaled up.
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 to be removed.
Required? true
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.Void
NOTES
Example 1: Remove a script action from the list of persisted script actions on a cluster
PS C:\\>Remove-AzureRmHDInsightPersistedScriptAction `
-ClusterName "your-hadoop-001" `
-Name "Scriptaction"
This command removes the script action named Scriptaction from the list of persisted script actions on the specified cluster.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... riptaction
Get-AzureRmHDInsightPersistedScriptAction
Set-AzureRmHDInsightPersistedScriptAction
SYNOPSIS
Removes an persisted script action from an HDInsight cluster.
SYNTAX
Remove-AzureRmHDInsightPersistedScriptAction [-ClusterName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>]
[-ResourceGroupName <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmHDInsightPersistedScriptAction cmdlet removes a persisted script action from the specified Azure HDInsight cluster's list of
persisted script actions. The removed script will no longer be executed when the cluster is scaled up.
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 to be removed.
Required? true
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.Void
NOTES
Example 1: Remove a script action from the list of persisted script actions on a cluster
PS C:\\>Remove-AzureRmHDInsightPersistedScriptAction `
-ClusterName "your-hadoop-001" `
-Name "Scriptaction"
This command removes the script action named Scriptaction from the list of persisted script actions on the specified cluster.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... riptaction
Get-AzureRmHDInsightPersistedScriptAction
Set-AzureRmHDInsightPersistedScriptAction