Add-WssBackupSystemRecovery

Adds a bare metal recovery option to a scheduled backup policy.

Syntax

Add-WssBackupSystemRecovery
   [-BackupPolicy] <ScheduledBackupPolicy>

Description

The Add-WssBackupSystemRecovery cmdlet adds a bare metal recovery option to a scheduled backup policy. Use a backup policy with a full metal recovery option to recover the full operating system, including critical volumes, from the backup.

Examples

Example 1: Add a bare metal recovery option to a backup policy

PS C:\>$ContosoBUPolicy25 = Get-WssBackupPolicy PS C:\>Add-WssBackupSystemRecovery -BackupPolicy $ContosoBUPolicy25

This command adds a bare metal recovery option to a backup policy.

The first command gets the backup policy for the computer and stores it in the variable named $ContosoBUPolicy25.

The second command adds bare metal recovery to the backup policy that is stored in $ContosoBUPolicy25.

Parameters

-BackupPolicy

Specifies the scheduled backup policy to which to add the option for bare metal recovery.

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