diff --git a/profiles/DerGeret/Windows/Backup.ps1 b/profiles/DerGeret/Windows/Backup.ps1 index 3a31cf6b..b1e7fe42 100644 --- a/profiles/DerGeret/Windows/Backup.ps1 +++ b/profiles/DerGeret/Windows/Backup.ps1 @@ -1,9 +1,9 @@ #!/bin/pwsh -. "$PSScriptRoot/../../../scripts/Windows/Scripts/Prerequisites.ps1"; -. "$PSScriptRoot/../../../scripts/Windows/Scripts/Context.ps1"; -. "$PSScriptRoot/../../../scripts/Windows/OS/Manage.ps1"; - $null = New-Module { + . "$PSScriptRoot/../../../scripts/Windows/Scripts/Prerequisites.ps1"; + . "$PSScriptRoot/../../../scripts/Windows/Scripts/Context.ps1"; + . "$PSScriptRoot/../../../scripts/Windows/OS/Manage.ps1"; + Write-Host "Starting Backup of Windows"; $context = [Context]::new(); $context.BackupName = $env:BACKUP_NAME ?? $(Read-Host -Prompt "Please enter a backup name");