Export (0) Print
Expand All

Get-WBBareMetalRecovery

Get-WBBareMetalRecovery

Gets the value that indicates whether the ability to perform bare metal recoveries from backups has been added to the backup policy (WBPolicy object).

Syntax

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

Detailed Description

The Get-WBBareMetalRecovery cmdlet gets the value that indicates whether the ability to perform bare metal recoveries from backups has been added to the backup policy (WBPolicy object). The information is displayed as a Boolean value. If the ability to perform bare metal recoveries from backups is not included, use the Add-WBBareMetalRecovery cmdlet to add this ability.

Parameters

-Policy <WBPolicy>

Specifies the backup policy (WBPolicy object) to display information for.

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

  • To use Windows Server Backup cmdlets, you must be a member of the Administrators group or Backup Operators group.

Examples

EXAMPLE 1

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

A Boolean value that indicates whether the Bare metal recovery flag is set in the WBPolicy object.

Description

-----------

Gets the Boolean value that indicates whether the bare metal recovery setting is set in the WBPolicy object $policy. The setting indicates whether backups that are created using this policy can be used for bare metal recovery.

See Also

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