Move windows files

This commit is contained in:
Manuel Thalmann 2023-06-20 22:04:11 +02:00
parent 0a5c50a446
commit f2610de6e0
3 changed files with 9 additions and 9 deletions

View file

@ -1,9 +0,0 @@
. "$PSScriptRoot/../../scripts/Windows/Scripts/Prerequisites.ps1";
. "$PSScriptRoot/../../scripts/Windows/Scripts/Context.ps1";
. "$PSScriptRoot/../../scripts/Windows/OS/Manage.ps1";
$null = New-Module {
$context = [Context]::new();
$context.BackupName = $env:BACKUP_NAME ?? $(Read-Host -Prompt "Please enter a backup name");
Invoke-WindowsBackup $context;
}

View file

@ -0,0 +1,9 @@
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Prerequisites.ps1";
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Context.ps1";
. "$PSScriptRoot/../../../scripts/Windows/OS/Manage.ps1";
$null = New-Module {
$context = [Context]::new();
$context.BackupName = $env:BACKUP_NAME ?? $(Read-Host -Prompt "Please enter a backup name");
Invoke-WindowsBackup $context;
}