New-WssRecoveryOption
Creates a recovery configuration for a file restore operation.
New-WssRecoveryOption
[-OverwriteExisting]
[-RestoreAcl]
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 |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |