Remove-WBBareMetalRecovery
Removes a request to include items that implement bare metal recovery from the current backup policy.
Syntax
Remove-WBBareMetalRecovery
[-Policy] <WBPolicy>
[<CommonParameters>]
Description
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 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.
Examples
Example 1: Remove the ability to perform bare metal recovery from a backup policy
PS C:\> Remove-WBBareMetalRecovery -Policy $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.
Parameters
-Policy
Specifies the WBPolicy object that contains the backup policy that this cmdlet updates.
Type: | WBPolicy |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Microsoft.Windows.ServerBackup.Commands.WBPolicy
Outputs
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기