Add-VSBHvJob (obsolete)

Short Description

Creates a Hyper-V SureBackup job.

Note

This cmdlet is obsolete. Run the Add-VBRSureBackupJob cmdlet instead.

Applies to

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Add-VSBHvJob [-Name <String>] -VirtualLab <CHvSbVirtualLab> [-AppGroup <CSbAppGroup>] [-LinkedJob <CBackupJob[]>] [-Description <String>] [-WarningAction <ActionPreference>] [-WarningVariable <String>]  [<CommonParameters>]

Detailed Description

This cmdlet creates a new Hyper-V SureBackup job.

Note that when you create a SureBackup job, you need to run it manually unless you enable a job schedule.

Run the Start-VSBJob cmdlet to start the created SureBackup job.

Run the Set-VSBJobScheduleOptions cmdlet to set schedule for the SureBackup job.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Name

Specifies the name you want to assign to the SureBackup job.

String

False

Named

False

VirtualLab

Specifies the virtual lab you want to use for verification.

Accepts the CHvSbVirtualLab object. To get this object, run the Get-VSBHvVirtualLab cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

AppGroup

Specifies the application group you want to use to provide the copy of the production environment of the verified VM.

If you do not use an application group, make sure that the LinkedJob parameter is set.

Accepts the CSbAppGroup object. To get this object, run the Get-VSBApplicationGroup cmdlet.

False

Named

True (ByValue,
ByProperty
Name)

LinkedJob

Specifies the array of backup, replication or copy jobs containing VMs you want to verify.

If you do not use a linked backup job, make sure that the AppGroup parameter is set.

Accepts the CBackupJob[] object. To get this object, run the Get-VBRJob cmdlet.

False

Named

True (ByValue,
ByProperty
Name)

Description

Specifies the description of the new SureBackup job.

String

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Add-VSBHvJob (obsolete)Example 1. Adding SureBackup Job with Virtual Lab, Application Group and Linked Job

Add-VSBHvJob (obsolete)Example 2. Adding SureBackup Job with Virtual Lab and Application Group

Add-VSBHvJob (obsolete)Example 3. Adding SureBackup Job with Virtual Lab and Application Group [Using Pipeline]

Add-VSBHvJob (obsolete)Example 4. Adding SureBackup Job with Virtual Lab and Application Group [Using Pipeline]

Related Commands

Page updated 2/21/2024

Page content applies to build 12.3.1.1139