Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

New-AzureWebsiteJob

New-AzureWebsiteJob

microsoft.windowsazure.commands.dll

Synopsis

Creates new web job for a website

Syntax

New-AzureWebsiteJob [-Name] [-Slot] [-JobName] [-JobType] [-JobFile] [<CommonParameters>]

Detailed Description

Creates new web job for a website

Parameters

-Name <>

The name of the Azure website

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Slot <>

The slot name of the Azure website

Aliases

None

Required?

false

Position

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-JobName <>

The web job name

Aliases

None

Required?

true

Position

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-JobType <>

The web job type. Can be 'triggered' or 'continuous'

Aliases

None

Required?

true

Position

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-JobFile <>

The web job file

Aliases

None

Required?

true

Position

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------- Create new web job for a website --------------

C:\PS>

Creates a continuous job to call job.bat on website MyWebsite

New-AzureWebsiteJob -Name MyWebsite -JobName MyWebJob -JobType Continuous -JobFile job.bat

Get-AzureWebsiteJob
New-AzureWebsite
Start-AzureWebsiteJob
Remove-AzureWebsiteJob
Stop-AzureWebsiteJob