From 6c7bb9c268c414aba01d11ceb471c0485260e1cd 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 2696cd07..7d3c11a2 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -17,6 +17,7 @@ $null = New-Module { Finishes the installation of a running Windows machine. #> function Start-WindowsInstallation { + $ErrorActionPreference = 'Inquire'; Start-InstallationLoop; }