Clean up computer after creating backup
This commit is contained in:
parent
8b193b5d73
commit
6316b30e84
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ function Backup-WindowsInstallation([Context] $context) {
|
||||||
Backup-PersonalFiles $context;
|
Backup-PersonalFiles $context;
|
||||||
Backup-PersonalApps $context;
|
Backup-PersonalApps $context;
|
||||||
$context.Backup($backupRoot, "$backupRoot.7z", @("-sdel"));
|
$context.Backup($backupRoot, "$backupRoot.7z", @("-sdel"));
|
||||||
|
$context.Cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
function Restore-WindowsInstallation([Context] $context) {
|
function Restore-WindowsInstallation([Context] $context) {
|
||||||
|
|
Loading…
Reference in a new issue