Remove-WssBackupVolume

Removes a backup volume from a scheduled backup policy.

Syntax

Remove-WssBackupVolume
      [-BackupPolicy] <ScheduledBackupPolicy>
      [-BackupVolume] <BackupVolume>

Description

The Remove-WssBackupVolume cmdlet removes a backup volume from a scheduled backup policy. When you remove a backup volume from a scheduled backup policy, backups that use the policy no longer back up the volume.

Examples

Example 1: Remove a backup volume from a scheduled backup policy

PS C:\> Remove-WssBackupVolume -BackupPolicy $ContosoBUPolicy215 -BackupVolume $ContosoBUVol50

This command removes the backup volume that is stored in the variable named $ContosoBUVol50 from the scheduled backup policy that is stored in the variable named $ContosoBUPolicy215.

Parameters

-BackupPolicy

Specifies the scheduled backup policy from which to remove the backup volume.

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

-BackupVolume

Specifies the backup volume to remove from the scheduled backup policy.

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