Get-OBSchedule

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.

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: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. 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

Get-OBPolicy

Set-OBSchedule