Get-WssBackupSystemRecovery
Get-WssBackupSystemRecovery
Gets a bare metal restore option from a scheduled backup policy.
Syntax
Parameter Set: Default
Get-WssBackupSystemRecovery [-BackupPolicy] <ScheduledBackupPolicy> [ <CommonParameters>]
Detailed Description
The Get-WssBackupSystemRecovery cmdlet gets a value that indicates whether a backup policy can perform bare metal restore operations. It gets this value from a scheduled backup policy. A bare metal restore operation restores a full operating system, including critical volumes, from a backup.
Parameters
-BackupPolicy<ScheduledBackupPolicy>
Specifies the scheduled backup policy for which to display information.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
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: Get bare metal restore options from a backup policy
This command gets the bare metal restore option from the scheduled backup policy that is stored in the variable named $ContosoBUPolicy25.
PS C:\> Get-WssBackupSystemRecovery -BackupPolicy $ContosoBUPolicy25