Get-WssBackupSystemRecovery
Get-WssBackupSystemRecovery
Gets a bare metal restore option from a scheduled backup policy.
Sintaxis
Parameter Set: Default
Get-WssBackupSystemRecovery [-BackupPolicy] <ScheduledBackupPolicy> [ <CommonParameters>]
Descripción detallada
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.
Parámetros
-BackupPolicy<ScheduledBackupPolicy>
Specifies the scheduled backup policy for which to display information.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
- Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.ScheduledBackupPolicy
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
System.Boolean
This cmdlet indicates whether BMR is enabled.
Ejemplos
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