Get-WssRecoveryItem

Gets child recovery items from a parent recovery item.

Syntax

Get-WssRecoveryItem
   [-Parent] <RecoveryItem>
   [<CommonParameters>]

Description

The Get-WssRecoveryItem cmdlet gets child recovery items from a parent recovery item. When you restore a file or folder, this cmdlet helps you locate the file or folder to restore by browsing from the root folder to the child folders, until you locate the missing folder.

Examples

Example 1: Get child recovery items

PS C:\> $ContosoRecOptions05Child = Get-WssRecoveryItem -Parent $ContosoRecOptions05Parent

This command gets child recovery options from the parent node that is stored in the variable named $ContosoRecOptions05Parent and stores those options in the variable named $ContosoRecOptions05Child.

Parameters

-Parent

Specifies the parent recovery item.

Type:RecoveryItem
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Outputs

Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.RecoveryItem

This cmdlet generates a recovery item.