external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|
WssCmdlets.dll-Help.xml |
WSSCmdlets |
12/05/2017 |
2.0.0 |
New-WssRecoveryOption |
Creates a recovery configuration for a file restore operation.
New-WssRecoveryOption [-OverwriteExisting] [-RestoreAcl] [<CommonParameters>]
The New-WssRecoveryOption cmdlet creates a recovery configuration that a later file restore operation can use to determine which files to restore.
PS C:\> $RecoverOpt15 = New-WssRecoveryOption -RestoreAcl
This command creates a configuration for a file restore operation that includes the ACL along with files and stores the configuration in the variable named $RecoverOpt15.
Indicates that the restore operation overwrites existing files.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates that the cmdlet restores an access control list (ACL) along with files. An ACL is a list of the users and groups that have permission to view or change a file.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
This cmdlet generates recovery options.