Add-WssBackupSystemRecovery
Add-WssBackupSystemRecovery
Adds a bare metal recovery option to a scheduled backup policy.
Syntax
Parameter Set: Default
Add-WssBackupSystemRecovery [-BackupPolicy] <ScheduledBackupPolicy> [ <CommonParameters>]
Detailed 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.
Parameters
-BackupPolicy<ScheduledBackupPolicy>
Specifies the scheduled backup policy to which to add the option for bare metal recovery.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Add a bare metal recovery option to a backup policy
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.
PS C:\> $ContosoBUPolicy25 = Get-WssBackupPolicy
PS C:\> Add-WssBackupSystemRecovery -BackupPolicy $ContosoBUPolicy25