Get-WBBareMetalRecovery

Get-WBBareMetalRecovery

Indicates whether or not a backup policy can perform bare metal recoveries from backups.

Sintaxis

Parameter Set: Default
Get-WBBareMetalRecovery [-Policy] <WBPolicy> [ <CommonParameters>]

Descripción detallada

The Get-WBBareMetalRecovery cmdlet gets a Boolean value that indicates whether or not a WBPolicy object that contains a backup policy can perform bare metal recoveries from backups. A bare metal recovery is the process of rebuilding a computer after a catastrophic failure. The recovery process backs up the system volume and master boot record by copying the entire volume and using Volume Shadow Copy Service (VSS) writers to ensure that all applications are in a consistent state for the copy. For more information about bare metal recovery, see Backup for Bare Metal Recovery (https://technet.microsoft.com/en-us/library/bb795820.aspx) on TechNet.

If a policy does not include the ability to perform bare metal recoveries from backups, use the Add-WBBareMetalRecovery cmdlet to add this ability.

To use this cmdlet, you must be a member of the Administrators group or Backup Operators group.

Parámetros

-Policy<WBPolicy>

Specifies a WBPolicy object that contains the 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.

  • WBPolicy

    The Get-WBBareMetalRecovery cmdlet queries a WBPolicy object that contains a backup policy to determine whether the server can use backups that use that policy for bare metal recovery.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Boolean

    The Get-WBBareMetalRecovery cmdlet displays a Boolean value to indicate whether the server can run backups that use a specified policy for bare metal recovery.

Ejemplos

Example 1: Determine whether a backup policy includes bare metal recovery

This command gets a Boolean value that indicates whether bare metal recovery is set in the WBPolicy object and stores this value in the variable named $Policy.

PS C:\> Get-WBBareMetalRecovery -Policy $Policy

Temas relacionados

Add-WBBareMetalRecovery

Remove-WBBareMetalRecovery