scripts: upgrade all to powershell 7.x

This commit is contained in:
2026-06-24 12:12:08 +02:00
parent f852fe2f7e
commit fcdad18067
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ IF "%~1"=="" (
set AbsoluteUrl=%~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 IF DEFINED iscommandline IF NOT DEFINED ispowershell pause
ENDLOCAL ENDLOCAL
+1 -1
View File
@@ -4,7 +4,7 @@ echo %cmdcmdline% | findstr /i /c:"%~nx0" >NUL && set iscommandline=1
echo %PSModulePath% | findstr /i /c:"%USERPROFILE%" >NUL && set ispowershell=1 echo %PSModulePath% | findstr /i /c:"%USERPROFILE%" >NUL && set ispowershell=1
cd /D "%~dp0" 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 IF DEFINED iscommandline IF NOT DEFINED ispowershell pause
ENDLOCAL ENDLOCAL
+1 -1
View File
@@ -4,7 +4,7 @@ echo %cmdcmdline% | findstr /i /c:"%~nx0" >NUL && set iscommandline=1
echo %PSModulePath% | findstr /i /c:"%USERPROFILE%" >NUL && set ispowershell=1 echo %PSModulePath% | findstr /i /c:"%USERPROFILE%" >NUL && set ispowershell=1
cd /D "%~dp0" 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 IF DEFINED iscommandline IF NOT DEFINED ispowershell pause
ENDLOCAL ENDLOCAL
+1 -1
View File
@@ -20,7 +20,7 @@ IF "%~1"=="" (
set ModuleTag=%~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 IF DEFINED iscommandline IF NOT DEFINED ispowershell pause
ENDLOCAL ENDLOCAL
+1 -1
View File
@@ -5,7 +5,7 @@ cd /D "%~dp0"
echo. echo.
@powershell -NoProfile -ExecutionPolicy Bypass -Command .\scripts\setup-environment.ps1 %* @pwsh -NoProfile -ExecutionPolicy Bypass -Command .\scripts\setup-environment.ps1 %*
echo. echo.