Export (0) Print
Expand All

New-OBSchedule

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

New-OBSchedule

Creates a new OBSchedule object based on the days of the week and times of day to create daily backups.

Syntax

Parameter Set: Default
New-OBSchedule [[-DaysOfWeek] <DayOfWeek[]{Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}> ] [[-TimesOfDay] <TimeSpan[]> ] [ <CommonParameters>]




Detailed Description

The New-OBSchedule cmdlet creates a new OBSchedule object which specifies the when the backup should happen in terms of the days of the week and times of the day. By default the schedule is created at 9:00PM every Sunday.

To use Windows Azure Backup cmdlets, the user must be a member of the Administrators group or Backup Operators group.

Parameters

-DaysOfWeek<DayOfWeek[]{Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}>

Specifies the days of the week on which backup should run. The following values are supported for this parameter – “Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday” and “Saturday”.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-TimesOfDay<TimeSpan[]>

Specifies the times of the day during which backup should run.


Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.Internal.CloudBackup.Commands.OBSchedule

Examples

EXAMPLE 1

This example creates a schedule for backup.


PS C:\> New-OBSchedule -DaysOfWeek Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday -TimesOfDay 12:00,16:00

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft