Restart computer after installation

This commit is contained in:
Manuel Thalmann 2023-07-03 14:36:39 +02:00
parent 19ad2e270a
commit 085bfeffa8

View file

@ -6,4 +6,5 @@ Write-Host "Starting Restoration of Windows";
[Context]$context = [Context]::new();
$context.EntryPoint = "$($MyInvocation.MyCommand.Path)";
$context.UserName = "Manuel";
Invoke-WindowsInstallation $context;
Invoke-WindowsInstallation $context;
Restart-Computer;