Skip to content

Latest commit

 

History

History
81 lines (58 loc) · 2.12 KB

New-WssRecoveryOption.md

File metadata and controls

81 lines (58 loc) · 2.12 KB
external help file Module Name ms.date online version schema title
WssCmdlets.dll-Help.xml
WSSCmdlets
12/05/2017
2.0.0
New-WssRecoveryOption

New-WssRecoveryOption

SYNOPSIS

Creates a recovery configuration for a file restore operation.

SYNTAX

New-WssRecoveryOption [-OverwriteExisting] [-RestoreAcl] [<CommonParameters>]

DESCRIPTION

The New-WssRecoveryOption cmdlet creates a recovery configuration that a later file restore operation can use to determine which files to restore.

EXAMPLES

Example 1: Create a recovery configuration

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.

PARAMETERS

-OverwriteExisting

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

-RestoreAcl

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

CommonParameters

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).

INPUTS

OUTPUTS

Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.RecoveryOptions

This cmdlet generates recovery options.

NOTES

RELATED LINKS

Get-WssRecoveryItem