2023-07-12 20:37:31 +00:00
|
|
|
#!/bin/pwsh
|
2023-07-14 07:24:13 +00:00
|
|
|
. "$PSScriptRoot/Drivers.ps1";
|
2023-06-22 15:05:19 +00:00
|
|
|
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Prerequisites.ps1";
|
|
|
|
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Context.ps1";
|
2023-06-16 20:49:47 +00:00
|
|
|
|
2023-06-22 15:59:10 +00:00
|
|
|
Write-Host "Starting Restoration of Windows";
|
|
|
|
. "$PSScriptRoot/../../../scripts/Windows/OS/Install.ps1";
|
|
|
|
[Context]$context = [Context]::new();
|
|
|
|
$context.EntryPoint = "$($MyInvocation.MyCommand.Path)";
|
2023-06-22 20:56:43 +00:00
|
|
|
$context.UserName = "Manuel";
|
2023-07-03 12:36:39 +00:00
|
|
|
Invoke-WindowsInstallation $context;
|
2023-07-16 09:30:20 +00:00
|
|
|
Restart-Computer -Force;
|