Remove-WssBackupSchedule
Remove-WssBackupSchedule
Removes a backup schedule from a scheduled backup policy.
구문
Parameter Set: Default
Remove-WssBackupSchedule [-BackupPolicy] <ScheduledBackupPolicy> [-BackupTime] <DateTime> [ <CommonParameters>]
자세한 설명
The Remove-WssBackupSchedule cmdlet removes a date and time from a scheduled backup policy. This action removes the backup that is scheduled for that date and time from the policy.
매개 변수
-BackupPolicy<ScheduledBackupPolicy>
Specifies the scheduled backup policy to edit.
별칭 |
없음 |
필수 여부 |
true |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-BackupTime<DateTime>
Specifies the date and time of the backup to remove from the schedule.
별칭 |
없음 |
필수 여부 |
true |
위치 |
2 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.ScheduledBackupPolicy
This cmdlet generates the BackupPolicy parameter value.
예제
Example 1: Remove a scheduled backup from a policy
This command removes the scheduled backup at 5:00 A.M. daily from the policy that is stored in the variable named $ContosoBUPolicy25.
PS C:\> Remove-WssBackupSchedule -BackupPolicy $ContosoBUPolicy25 -Schedule 5:00