From fcdad180673bcdfa2ea8d7a6fe6d18f575879b3e Mon Sep 17 00:00:00 2001 From: Pier-Paolo Mammi Date: Wed, 24 Jun 2026 12:12:08 +0200 Subject: [PATCH] scripts: upgrade all to powershell 7.x --- convert-url-to-elix.bat | 2 +- extract-elx-internals-all.bat | 2 +- extract-elx-internals-last-updated.bat | 2 +- extract-elx-internals.bat | 2 +- setup-environment.bat | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/convert-url-to-elix.bat b/convert-url-to-elix.bat index c22fae3..170c863 100644 --- a/convert-url-to-elix.bat +++ b/convert-url-to-elix.bat @@ -20,7 +20,7 @@ IF "%~1"=="" ( set AbsoluteUrl=%~1 ) -@powershell -NoProfile -ExecutionPolicy Bypass -Command .\scripts\convert-url-to-elix.ps1 -AbsoluteUrl '%AbsoluteUrl%' +@pwsh -NoProfile -ExecutionPolicy Bypass -Command .\scripts\convert-url-to-elix.ps1 -AbsoluteUrl '%AbsoluteUrl%' IF DEFINED iscommandline IF NOT DEFINED ispowershell pause ENDLOCAL diff --git a/extract-elx-internals-all.bat b/extract-elx-internals-all.bat index efb5242..2a56f72 100644 --- a/extract-elx-internals-all.bat +++ b/extract-elx-internals-all.bat @@ -4,7 +4,7 @@ echo %cmdcmdline% | findstr /i /c:"%~nx0" >NUL && set iscommandline=1 echo %PSModulePath% | findstr /i /c:"%USERPROFILE%" >NUL && set ispowershell=1 cd /D "%~dp0" -@powershell -NoProfile -ExecutionPolicy Bypass -Command .\scripts\extract-elx-internals-all.ps1 +@pwsh -NoProfile -ExecutionPolicy Bypass -Command .\scripts\extract-elx-internals-all.ps1 IF DEFINED iscommandline IF NOT DEFINED ispowershell pause ENDLOCAL diff --git a/extract-elx-internals-last-updated.bat b/extract-elx-internals-last-updated.bat index e953cd8..7e6d483 100644 --- a/extract-elx-internals-last-updated.bat +++ b/extract-elx-internals-last-updated.bat @@ -4,7 +4,7 @@ echo %cmdcmdline% | findstr /i /c:"%~nx0" >NUL && set iscommandline=1 echo %PSModulePath% | findstr /i /c:"%USERPROFILE%" >NUL && set ispowershell=1 cd /D "%~dp0" -@powershell -NoProfile -ExecutionPolicy Bypass -Command .\scripts\extract-elx-internals-last-updated.ps1 +@pwsh -NoProfile -ExecutionPolicy Bypass -Command .\scripts\extract-elx-internals-last-updated.ps1 IF DEFINED iscommandline IF NOT DEFINED ispowershell pause ENDLOCAL diff --git a/extract-elx-internals.bat b/extract-elx-internals.bat index f239976..b27c7ec 100644 --- a/extract-elx-internals.bat +++ b/extract-elx-internals.bat @@ -20,7 +20,7 @@ IF "%~1"=="" ( set ModuleTag=%~1 ) -@powershell -NoProfile -ExecutionPolicy Bypass -Command .\scripts\extract-elx-internals.ps1 -ModuleTag %ModuleTag% +@pwsh -NoProfile -ExecutionPolicy Bypass -Command .\scripts\extract-elx-internals.ps1 -ModuleTag %ModuleTag% IF DEFINED iscommandline IF NOT DEFINED ispowershell pause ENDLOCAL diff --git a/setup-environment.bat b/setup-environment.bat index c87b998..47acd73 100644 --- a/setup-environment.bat +++ b/setup-environment.bat @@ -5,7 +5,7 @@ cd /D "%~dp0" echo. -@powershell -NoProfile -ExecutionPolicy Bypass -Command .\scripts\setup-environment.ps1 %* +@pwsh -NoProfile -ExecutionPolicy Bypass -Command .\scripts\setup-environment.ps1 %* echo.