Move windows files
This commit is contained in:
parent
0a5c50a446
commit
f2610de6e0
3 changed files with 9 additions and 9 deletions
|
@ -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;
|
|
||||||
}
|
|
9
profiles/DerGeret/Windows/Backup.ps1
Normal file
9
profiles/DerGeret/Windows/Backup.ps1
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue