scripts: upgrade all to powershell 7.x
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user