다음을 통해 공유


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.

구문

Default (기본값)

Get-OBSchedule
    [-Policy] <CBPolicy>

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 needs to be an administrator on the protected machine.

예제

EXAMPLE 1

Get-OBPolicy | Get-OBSchedule

This example gets a schedule for backup, recovery, or backup and recovery.

매개 변수

-Policy

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

매개 변수 속성

형식:CBPolicy
Default value:None
와일드카드 지원:False
DontShow:False

매개 변수 집합

(All)
Position:1
필수:True
파이프라인의 값:True
속성 이름별 파이프라인의 값:False
나머지 인수의 값:False

입력

None

출력

Microsoft.Internal.CloudBackup.Commands.OBSchedule