Clean up computer after creating backup

This commit is contained in:
Manuel Thalmann 2023-07-29 21:16:42 +02:00
parent 8b193b5d73
commit 6316b30e84

View file

@ -11,6 +11,7 @@ function Backup-WindowsInstallation([Context] $context) {
Backup-PersonalFiles $context;
Backup-PersonalApps $context;
$context.Backup($backupRoot, "$backupRoot.7z", @("-sdel"));
$context.Cleanup();
}
function Restore-WindowsInstallation([Context] $context) {