Get-RecoverableItem

Get-RecoverableItem

Returns a list of recoverable items in a recovery point.

Syntax

Get-RecoverableItem -RecoveryPointForShares <RecoverySource> [-Async <SwitchParameter>] [-Tag <Object>] [<CommonParameters>]


Get-RecoverableItem [-RecoverableItem] <RecoverableObject> [-BrowseType] <BrowseType> [-Async <SwitchParameter>] [-Tag <Object>] [<CommonParameters>]


Get-RecoverableItem [-SearchOption] <SearchSpecifications> [-Datasource] <Datasource> [-Async <SwitchParameter>] [-Tag <Object>] [<CommonParameters>]

Detailed Description

The Get-RecoverableItem cmdlet returns a list of recoverable items in a recovery point.
The recoverable items based on source are:
File system: Files and folders

Microsoft Exchange: Storage groups, databases and mailboxes

Microsoft SQL: Databases

Microsoft ShapePoint: Sites, databases and documents

Virtual Machines

A DPM server

System state of a protected computer

Parameters

-BrowseType

Indicates whether to browse only the parent nodes or to browse the child nodes as well. The valid values are Parent and Child.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

1

-SearchOption

Sets the search options as defined in New-SearchOption.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

1

-Datasource

A Windows file system share or volume, Microsoft SQL Server database, Microsoft Exchange storage group, Microsoft SharePoint farm, Microsoft Virtual Machine, DPM database, or system state that is a member of a protection group.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

0

-RecoverableItem

A child item within a recovery point that can be recovered. For e.g. a Windows file system share or volume, Microsoft SQL database, Microsoft Exchange storage group, Microsoft SharePoint, Microsoft Virtual Machine, Microsoft DPM database, system state or a recovery point.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

0

-RecoveryPointForShares

The recovery point to use.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

named

-Async

Allows the user to indicate that the cmdlet should run asynchronously. This is useful with cmdlets that take a long time to complete. The control returns to the user immediately after the operation starts. The progress of the operation is communicated to the user periodically. This is useful when building a GUI using cmdlets. It is not used when working with the DPM Management Shell.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-Tag

Helps distinguish the replies to each asynchronous call made by a cmdlet. This is useful when building a GUI using cmdlets.
It is not used when working with the DPM Management Shell.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-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

  • For more information, type "Get-Help Get-RecoverableItem -detailed".
    For technical information, type "Get-Help Get-RecoverableItem -full".

    Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.

Examples

Example 1

 
            $pg = Get-ProtectionGroup -DPMServerName TestingServer 
            $ds = Get-Datasource -ProtectionGroup $pg 
            $rp = Get-RecoveryPoint -Datasource $ds 
            Get-RecoverableItem -RecoverableItem $rp -BrowseType child 
          

This command returns an object that can be recovered from the recovery point.