Export (0) Print
Expand All

Add-WBBareMetalRecovery

Add-WBBareMetalRecovery

Adds the needed items to the backup policy (WBPolicy object) to enable you to perform a bare metal recovery later with backups created using that policy.

Syntax

Add-WBBareMetalRecovery [-Policy] <WBPolicy> [<CommonParameters>]

Detailed Description

The Add-WBBareMetalRecovery cmdlet adds the needed items to the backup policy (WBPolicy object) to enable you to perform a bare metal recovery later with backups created using that policy. If you add the ability to do a bare metal recovery, the ability to do a system state recovery is also added automatically.

Parameters

-Policy <WBPolicy>

Specifies the backup policy (WBPolicy object) to update.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

1

-CommonParameter

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Notes

  • The WBPolicy object must be in edit mode. To put the WBPolicy object in edit mode for a policy that has been 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 Windows Server Backup cmdlets, you must be a member of the Administrators group or Backup Operators group.

Examples

EXAMPLE 1

C:\PS>Add-WBBareMetalRecovery -Policy $policy

None

Description

-----------

Adds the setting to the WBPolicy object $policy to enable the backups that are created with this policy to be used for bare metal recovery.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft