Restore-UnmanagedFiles
Restore all unmanaged files backed-up by Backup-UnmanagedFiles before.
Syntax
Restore-UnmanagedFiles [-WebPath] <String> [-TempPath] <String> [-ConfigPath] <String> [<CommonParameters>]
Description
Restore all unmanaged files backed-up by Backup-UnmanagedFiles before.
After the backup is restored, it will be deleted.
Parameters
-WebPath <String>
The path where the files should be restored to.
| Position | Required | Default value | Accept pipeline input | Accept wildchard characters |
|---|---|---|---|---|
| 1 | true | false | false |
-TempPath <String>
The temp path generated by Backup-UnmanagedFiles
| Position | Required | Default value | Accept pipeline input | Accept wildchard characters |
|---|---|---|---|---|
| 2 | true | false | false |
-ConfigPath <String>
| Position | Required | Default value | Accept pipeline input | Accept wildchard characters |
|---|---|---|---|---|
| 3 | true | false | false |
Examples
-------------------------- EXAMPLE 1 --------------------------
Restore-UnmanagedFiles -WebPath d:\webs\my -TempPath $backupPath