From 7efb3a7751bc780cb0faa388dfbdc127f28b0dab Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Fri, 2 Feb 2024 22:45:37 +0300 Subject: [PATCH] Update Download_Sophia.ps1 --- Download_Sophia.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Download_Sophia.ps1 b/Download_Sophia.ps1 index 9b1ef7ac..93e2cee1 100644 --- a/Download_Sophia.ps1 +++ b/Download_Sophia.ps1 @@ -208,7 +208,7 @@ if (-not ("WinAPI.ForegroundWindow" -as [type])) { Add-Type @Signature } - catch [System.Management.Automation.ParameterBindingValidationException] + catch [System.Management.Automation.ParameterBindingException] { Write-Warning -Message "PowerShell 5.1 does not compile code if the username contains non-Latin characters (including emoji) and is written in lowercase."