Stop-VBRSureBackupJob
Short Description
Stops the SureBackup job.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Stop-VBRSureBackupJob -Job <VBRSureBackupJobBase> [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet stops the SureBackup job.
Run the Start-VBRSureBackupJobStarts the SureBackup job. cmdlet to start the SureBackup job.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Job |
Specifies a SureBackup job. The cmdlet will stop that job.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue.
Note: Microsoft PowerShell enables the |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Stopping SureBackup Job
This example shows how to stop a SureBackup Job.
|
$job = Get-VBRSureBackupJob -Name "SureJob 2" Stop-VBRSureBackupJob -Job $job |
Perform the following steps:
- Run the
Get-VBRSureBackupJobReturns SureBackup jobs. cmdlet. Specify theNameparameter value. Save the result to the$jobvariable. - Run the
Stop-VBRSureBackupJobcmdlet. Set the$jobvariable as theJobparameter value.
Related Commands
Get-VBRSureBackupJobReturns SureBackup jobs.