Get-​Azure​Rm​Data​Lake​Analytics​Job

Gets a Data Lake Analytics job.

Syntax

Get-AzureRmDataLakeAnalyticsJob
   [-Account] <String>
   [-JobId] <Guid>
   [[-Include] <ExtendedJobData>]
   [<CommonParameters>]
Get-AzureRmDataLakeAnalyticsJob
   [-Account] <String>
   [[-Name] <String>]
   [[-Submitter] <String>]
   [[-SubmittedAfter] <DateTimeOffset>]
   [[-SubmittedBefore] <DateTimeOffset>]
   [[-State] <JobState[]>]
   [[-Result] <JobResult[]>]
   [-Top <Int32>]
   [<CommonParameters>]

Description

The Get-AzureRmDataLakeAnalyticsJob cmdlet gets an Azure Data Lake Analytics job. If you do not specify a job, this cmdlet gets all jobs.

Examples

Example 1: Get a specified job

PS C:\>Get-AzureRmDataLakeAnalyticsJob -Account "contosoadla" -JobId $JobID01

This command gets the job with the specified ID.

Example 2: Get jobs submitted in the past week

PS C:\>Get-AzureRmDataLakeAnalyticsJob -Account "contosoadla" -SubmittedAfter (Get-Date).AddDays(-7)

This command gets jobs submitted in the past week.

Required Parameters

-Account

Specifies the name of a Data Lake Analytics account.

Type:String
Aliases:AccountName
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-JobId

Specifies the ID of the job to get.

Type:Guid
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-Include

Specifies options that indicate the type of additional information to retrieve about the job. The acceptable values for this parameter are:- None

  • DebugInfo
  • Statistics
  • All
Type:ExtendedJobData
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies a name to use to filter the job list results. The acceptable values for this parameter are:- None

  • DebugInfo
  • Statistics
  • All
Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Result

Specifies a result filter for the job results. The acceptable values for this parameter are:- None

  • Cancelled
  • Failed
  • Succeeded
Type:JobResult[]
Position:6
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-State

Specifies a state filter for the job results. The acceptable values for this parameter are:- Accepted

  • New
  • Compiling
  • Scheduling
  • Queued
  • Starting
  • Paused
  • Running
  • Ended
Type:JobState[]
Position:5
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-SubmittedAfter

Specifies a date filter. Use this parameter to filter the job list result to jobs submitted after the specified date.

Type:DateTimeOffset
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-SubmittedBefore

Specifies a date filter. Use this parameter to filter the job list result to jobs submitted before the specified date.

Type:DateTimeOffset
Position:4
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Submitter

Specifies the email address of a user. Use this parameter to filter the job list results to jobs submitted by a specified user.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Top

An optional value which indicates the number of jobs to return. Default value is 500

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

JobInformation

Outputs

List<JobInformation>