From eed031e1938010a1649c65f42c79fde69fd59fb5 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 1 Aug 2024 21:08:31 +0200 Subject: [PATCH] Pause on error by default --- scripts/Windows/OS/Install.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 7a5112ed..3d307fac 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -16,6 +16,7 @@ $null = New-Module { Finishes the installation of a running Windows machine. #> function Start-WindowsInstallation { + $ErrorActionPreference = 'Inquire'; Start-InstallationLoop; }