Export (0) Print
Expand All

Get-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

Get-OBSchedule

Gets the OBSchedule object, which includes the days of the week and times of day to create daily backups, for the specified OBPolicy object.

Syntax

Parameter Set: Default
Get-OBSchedule [-Policy] <CBPolicy> [ <CommonParameters>]




Detailed Description

The Get-OBSchedule cmdlet gets the current schedule for backups in the backup policy (OBPolicy object). Backups are run at the times specified in the schedule. To change the schedule, use the Set-OBSchedule cmdlet.

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

Parameters

-Policy<CBPolicy>

Specifies the policy from which the schedule for backup is obtained.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

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 gets a schedule for backup, recovery, or backup and recovery.


PS C:\> Get-OBPolicy | Get-OBSchedule

Related topics

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