This is an archive version of the document. To get the most up-to-date information, see the current version.

Start-VSBJob

Short Description

Starts a created SureBackup job.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus

Syntax

Start-VSBJob [-Job] <CSbJob[]> [-RunAsync] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Related Commands

Get-VSBJob

Detailed Description

This cmdlet allows you to start a created SureBackup job.

When you create a job, you need to run it manually unless you enable a job schedule. Run Set-VSBJobSchedule to schedule the SureBackup job to run automatically.

Run Stop-VSBJob to stop a running SureBackup job.

Run Start-VBRJob to start a backup, replication or copy job.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Job

Specifies the SureBackup job you want to run.

You can assign multiple jobs to this object.

True

1

True (ByValue,
ByProperty
Name)

False

RunAsync

Indicates that the command returns immediately without waiting for the task to complete.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

This command starts the SureBackup jobs named "SharePoint SureJob 01" and "SharePoint SureJob 02". The jobs are obtained with Get-VSBJob and piped down.

PS C:\PS> Get-VSBJob -Name "SharePoint SureJob 01", "SharePoint SureJob 02" | Start-VSBJob

Example 2

This command starts the SureBackup job represented by the $SureJob variable. The job object is obtained with Get-VSBJob and assigned to the variable beforehand.

PS C:\PS> Start-VSBJob -Job $SureJob