Short Description
Stops a running backup job.
Syntax
Stop-VBOJob -Job <VBOJob> [-RunAsync [<SwitchParameter>]] [<CommonParameters>] |
Detailed Description
This cmdlet stops a running backup job.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the backup job you want to stop. | True | Named | True (ByValue) | 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
This example shows how to stop the backup job.
You will need to perform the following steps:
- Run Get-VBOJob to get the backup job you want to stop. Save the result to the $job variable.
- Run Stop-VBOJob with the $job variable.
PS C:\PS> $job = Get-VBOJob -Name "ABC Backup" PS C:\PS> Stop-VBOJob -Job $job |
Related Commands