New-VBRDailyOptions

In this article

    Short Description

    Creates new job daily schedule settings.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    New-VBRDailyOptions [-DayOfWeek <DayOfWeek[]>] [-Period <TimeSpan>] [-Type <VBRDailyOptionsType>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Detailed Description

    This cmdlet creates an object containing job daily schedule settings. You can use this object to set job schedule.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Type

    Specifies the job schedule type:

    • Everyday: the job will run every day.
    • WeekDays: the job will run Monday to Friday.
    • SelectedDays: the job will run on selected days. Use the DaysOfWeek parameter to set the days.

    False

    Named

    False

    False

    DayOfWeek

    Specifies the day of week when the job will run.

    Default: Saturday.

    False

    Named

    False

    False

    Period

    Specifies the time when the job will start.

    Default: 18:00.

    False

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Return Type

    VBRDailyOptions

    Example 1

    This command creates schedule with the following settings: every Friday at 23:00. Save the result to the $fridayoptions variable for later use.

    $fridayoptions = New-VBRDailyOptions -DayOfWeek Friday -Period 23:00

    Example 2

    This command creates schedule with the following settings: every day at 20:00. Save the result to the $everydayoptions variable for later use.

    $everydayoptions = New-VBRDailyOptions -Type Everyday -Period 20:00

    Example 3

    This command creates schedule with the following settings: on weekends at 18:00. The Period is not set — the command will use the default value. Save the result to the $weekendoptions variable for later use.

    $weekendoptions = New-VBRDailyOptions -DayOfWeek Saturday, Sunday

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.