Restart computer after installation

This commit is contained in:
Manuel Thalmann 2023-07-03 14:36:39 +02:00
parent a8dccbd6cc
commit 50774027f3

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;