Get-AzureWebsiteJobHistory

Get-AzureWebsiteJobHistory

Gets a web job history

Syntax

Parameter Set: HistoryParameterSetName
Get-AzureWebsiteJobHistory [[-Name] <String> ] -JobName <String> [-Slot <String> ] [ <CommonParameters>]

Parameter Set: LatestParameterSetName
Get-AzureWebsiteJobHistory [[-Name] <String> ] -JobName <String> -Latest [-Slot <String> ] [ <CommonParameters>]

Parameter Set: RunIdParameterSetName
Get-AzureWebsiteJobHistory [[-Name] <String> ] -JobName <String> -RunId <String> [-Slot <String> ] [ <CommonParameters>]




Detailed Description

Gets a web job history

Parameters

-JobName<String>

The web job name


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Latest

If specified, return the latest run history.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

The name of the Azure website


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-RunId<String>

The id of the run history you want to see


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Slot<String>

The slot name of the Azure website


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

-------------- Get complete history for a web job --------------

Gets complete history for MyWebJob


C:\PS>Get-AzureWebsiteJobHistory -Name MyWebsite -JobName MyWebJob

-------------- Get latest run for a web job --------------

Gets latest run info for MyWebJob


C:\PS>Get-AzureWebsiteJobHistory -Name MyWebsite -JobName MyWebJob -Latest

-------------- Get specific run for a web job --------------

Gets all info about run with id 10 for MyWebJob


C:\PS>Get-AzureWebsiteJobHistory -Name MyWebsite -JobName MyWebJob -RunId 10

Related topics

Show: