Get-​Azure​Website​Job​History

Gets a web job history.

Syntax

Get-AzureWebsiteJobHistory
   -JobName <String>
   [-Latest]
   [-Name <String>]
   [-Profile <AzureSMProfile>]
   [-Slot <String>]
   [<CommonParameters>]
Get-AzureWebsiteJobHistory
   -JobName <String>
   [-Name <String>]
   [-Profile <AzureSMProfile>]
   -RunId <String>
   [-Slot <String>]
   [<CommonParameters>]

Description

Gets a web job history.

Examples

Example 1: Get complete history for a web job

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

Gets complete history for MyWebJob.

Example 2: Get latest run for a web job

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

Gets latest run info for MyWebJob.

Example 3: Get specific run for a web job

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

Gets all info about run with id 10 for MyWebJob.

Required Parameters

-JobName

The web job name.

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

If specified, return the latest run history.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunId

Specifies the ID of the run history you want to see.

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

Optional Parameters

-Name

The name of the Azure website.

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

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Slot

The slot name of the Azure website.

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