Remove-WssBackupSchedule

Removes a backup schedule from a scheduled backup policy.

Syntax

Remove-WssBackupSchedule
      [-BackupPolicy] <ScheduledBackupPolicy>
      [-BackupTime] <DateTime>

Description

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.

Examples

Example 1: Remove a scheduled backup from a policy

PS C:\> Remove-WssBackupSchedule -BackupPolicy $ContosoBUPolicy25 -Schedule 5:00

This command removes the scheduled backup at 5:00 A.M. daily from the policy that is stored in the variable named $ContosoBUPolicy25.

Parameters

-BackupPolicy

Specifies the scheduled backup policy to edit.

Type:ScheduledBackupPolicy
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-BackupTime

Specifies the date and time of the backup to remove from the schedule.

Type:DateTime
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False