Remove-WBBareMetalRecovery

Remove-WBBareMetalRecovery

Removes a request to include items that implement bare metal recovery from the current backup policy.

構文

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

詳細説明

The Remove-WBBareMetalRecovery cmdlet removes a request to include items that implement a bare metal recovery from the WBPolicy object that contains the current backup policy. Depending on the contents of the WBFileSpec object, the backup process can still back up some items that perform a bare metal recovery, but the backup process itself may not be able to perform a bare metal recovery.

Before you can add a backup target to a WBPolicy object, you must put the WBPolicy object in edit mode. To put the WBPolicy object in edit mode for a policy that you have set as the scheduled backup policy, use the Get-WBPolicy cmdlet with the Editable parameter. The New-WBPolicy cmdlet creates a new WBPolicy object that is already in edit mode.

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

パラメーター

-Policy<WBPolicy>

Specifies the WBPolicy object that contains the backup policy to update.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

True (ByValue)

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

false

<CommonParameters>

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

入力

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

出力

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

  • None

    None

Example 1: Remove the ability to perform bare metal recovery from a backup policy

This command removes the setting to include bare metal recovery from the WBPolicy object that is stored in the variable named $Policy.

You cannot use the backups from this policy for bare metal recovery unless the user added all volumes that contain critical system data to the backup policy.

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

関連トピック

Add-WBBareMetalRecovery

Get-WBBareMetalRecovery

Remove-WBBareMetalRecovery