Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

New-VSBJobOptions

Short Description

Sets SureBackup job options.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus

Syntax

New-VSBJobOptions [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

This cmdlet lets you edit job settings of SureBackup jobs.

This cmdlet returns the CDRJobOptions object containing the default settings of the SureBackup job you want to edit. You can customize any setting that you want to apply. This object is then used in the Set-VSBJobOptions cmdlet.

<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 command creates a CDRJobOptions object with the following settings:

  • The EmailNotification is enabled,
  • The EmailNotificationAddresses is set to mailto@veeam.com,
  • The RunningVmsNumber is set to 6,
  • The other settings are left by default.

PS C:\PS> $sureoptions = New-VSBJobOptions

PS C:\PS> $sureoptions.EmailNotification = "True"

PS C:\PS> $sureoptions.EmailNotificationAddresses = "mailto@veeam.com"

PS C:\PS> $sureoptions.RunningVmsNumber = 6

PS C:\PS> $sureoptions

RunManually                : True
ShutdownTestVms            : True
EmailNotification          : True
EmailNotificationAddresses : mailto@veeam.com
SnmpNotification           : False
LinkWithJobs               : False
RunningVmsNumber           : 6
Validation                 : False
SkipValidationForAppGroup  : True

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Endpoint Backup Documentation

Veeam Management Pack Documentation