This is an archive version of the document. To get the most up-to-date information, see the current version.

Reset-VBRJobOptions

In this article

    Short Description

    Sets job settings to default.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

    Reset-VBRJobOptions -Job <CBackupJob> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Related Commands

    Get-VBRJob

    Detailed Description

    This cmdlet clears the custom settings of the specified job and restores their default values.

    Note that the VSS settings (application-aware image processing and guest file system indexing) are not reset with this cmdlet. Run Reset-VBRJobVssOptions to clear the job VSS settings. Run Disable-VBRJobVSSIntegration or Disable-VBRJobGuestFSIndexing to temporarily disable the application-aware image processing and guest file system indexing settings.

    You can run this cmdlet with any kind of jobs.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Job

    Specifies the job you want to edit.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    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 1

    This command sets default settings to backup jobs named "Fileserver Backup Job 1" and "Fileserver Backup Job 2". The jobs object is obtained with Get-VBRJob and piped down.

    PS C:\PS> Get-VBRJob -Name "Fileserver Backup Job 1", "Fileserver Backup Job 2" | Reset-VBRJobOptions

    Example 2

    This command sets default settings to the job represented by the '$job' variable. The job object is obtained with Get-VBRJob and assigned to the variable beforehand.

    PS C:\PS> Reset-VBRJobOptions -Job $job