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

@ -7,3 +7,4 @@ Write-Host "Starting Restoration of Windows";
$context.EntryPoint = "$($MyInvocation.MyCommand.Path)";
$context.UserName = "Manuel";
Invoke-WindowsInstallation $context;
Restart-Computer;