Stop-VBOJob

Short Description

Stops running backup jobs.

Syntax

Stop-VBOJob -Job <VBOJob> [-RunAsync] [<CommonParameters>]

Detailed Description

This cmdlet stops a running backup job.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Job

Specifies a backup job that you want to stop.

Accepts the VBOJob object.

To get this object, run the Get-VBOJob cmdlet.

True

Named

True (ByValue)

RunAsync

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

Default: False

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Example

Stopping Backup Job

This example shows how to stop the backup job.

$job = Get-VBOJob -Name "ABC Backup"

Stop-VBOJob -Job $job

Perform the following steps:

  1. Run the Get-VBOJob cmdlet to get the backup job that you want to stop. Save the result to the $job variable.
  2. Run the Stop-VBOJob cmdlet with the $job variable.

Related Commands

Get-VBOJob

Page updated 5/14/2024

Page content applies to build 8.0.5.20