From 085bfeffa81a3af4052dd6ee63fdf5eb4e1eb19c Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 3 Jul 2023 14:36:39 +0200 Subject: [PATCH] Restart computer after installation --- profiles/DerGeret/Windows/Restore.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/DerGeret/Windows/Restore.ps1 b/profiles/DerGeret/Windows/Restore.ps1 index 78273de8..315f4219 100644 --- a/profiles/DerGeret/Windows/Restore.ps1 +++ b/profiles/DerGeret/Windows/Restore.ps1 @@ -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; \ No newline at end of file +Invoke-WindowsInstallation $context; +Restart-Computer; \ No newline at end of file