PortValhalla/profiles/DerGeret/Windows/Restore.ps1

10 lines
419 B
PowerShell
Raw Normal View History

2023-06-22 15:05:19 +00:00
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Prerequisites.ps1";
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Context.ps1";
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;
Restart-Computer;