Start-AzureSqlJobExecution
Starts a job execution.
Syntax
Start-AzureSqlJobExecution
-JobName <String[]>
[[-AzureSqlJobConnection] <AzureSqlJobConnection>]
[<CommonParameters>]
Description
The Start-AzureSqlJobExecution cmdlet starts a job execution.
Examples
Example 1: Start a job execution using a specified job name
PS C:\>Start-AzureSqlJobExecution -JobName "MyJob"
JobExecutionId : 736de27d-186f-42ae-8a4c-e5a77c683ccd
ParentJobExecutionId :
Lifecycle : Created
CreatedTime : 7/10/2015 2:15:32 PM -07:00
StartTime :
EndTime :
JobName : MyJob
ContentName : MyScript
ContentVersionNumber : 1
TargetDescription : {"CustomCollectionName":"myCustomCollection"}
TargetId : b525727e-6ed0-44cc-94da-63c543e383d7
CredentialName : MyCredential
ExecutionPolicyName : Default execution policy
ResultSetDestination :
This command starts a job execution using the job named MyJob.
Parameters
-AzureSqlJobConnection
Specifies the connection state object for the job. You can get the connection state object through the New-AzureSqlJobConnection cmdlet. If you do not specify this parameter, the connection state is used from a prior call to the Use-AzureSqlJobConnection cmdlet.
Type: | AzureSqlJobConnection |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobName
Specifies the name of the job.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for