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.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for