From d4acdaae9e1415eee11a2945b6e498ae87acb4e4 Mon Sep 17 00:00:00 2001 From: ek-dyoder Date: Wed, 24 Sep 2025 14:30:31 -0400 Subject: [PATCH] minor --- Start-UpgradeToWindows11.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Start-UpgradeToWindows11.ps1 b/Start-UpgradeToWindows11.ps1 index e05226f..b9b4aae 100644 --- a/Start-UpgradeToWindows11.ps1 +++ b/Start-UpgradeToWindows11.ps1 @@ -92,5 +92,5 @@ Catch { Write-Error "The Windows Installation Assistant could not be downloaded` If ( -not (Test-Path $WIAInstaller) ) { Write-Error "The Windows Installation Assistant could not be found after successfully downloading" ; Exit 1 } Write-Output "Launching upgrade" Try { Start-Process -FilePath $WIAInstaller -ArgumentList "/QuietInstall /SkipEULA /Auto Upgrade /SkipSelfUpdate /ShowProgressInTaskBarIcon /SkipCompatCheck" } -Catch { Write-Output $_.Exception.Message ; Exit 1} +Catch { Write-Output $_.Exception.Message ; Exit 1 } Exit 0 \ No newline at end of file