Get-WBBareMetalRecovery

Get-WBBareMetalRecovery

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

構文

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




詳細説明

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 (http://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.

パラメーター

-Policy<WBPolicy>

Specifies a WBPolicy object that contains the backup policy for which to display information.


エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • 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.


出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • 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.


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

関連トピック

コミュニティの追加

追加
表示: