< Back

Stop-AzureRmDataLakeAnalyticsJob

Tue Jan 29, 2019 9:43 pm

NAME Stop-AzureRmDataLakeAnalyticsJob



SYNOPSIS

Cancels a job.





SYNTAX

Stop-AzureRmDataLakeAnalyticsJob [-Account] <String> [-JobId] <Guid> [[-Force]] [[-PassThru]] [-DefaultProfile <IAzureContextContainer>]

[-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Stop-AzureRmDataLakeAnalyticsJob cmdlet cancels an Azure Data Lake Analytics job.





PARAMETERS

-Account <String>

Specifies the Data Lake Analytics account name.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

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



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? 2

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-JobId <Guid>

Specifies the ID of the job to cancel.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-PassThru [<SwitchParameter>]

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.



Required? false

Position? 3

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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

Guid

Parameter 'JobId' accepts value of type 'Guid' from the pipeline





OUTPUTS

bool

If PassThru is specified, returns true upon completion of the operation.





NOTES









Example 1: Cancel a job



PS C:\\>Stop-AzureRmDataLakeAnalyticsJob -Account "ContosoAdlAccout" -JobId "a0a78d72-3fa8-4564-9b18-6becb3fda48a"



This command cancels the job with the specified ID.







RELATED LINKS

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

Get-AzureRmDataLakeAnalyticsJob

Submit-AzureRmDataLakeAnalyticsJob

Wait-AzureRmDataLakeAnalyticsJob