8 lines
225 B
Batchfile
8 lines
225 B
Batchfile
@echo off
|
|
where pwsh >nul 2>&1
|
|
if %ERRORLEVEL% == 0 (
|
|
pwsh -NoProfile -ExecutionPolicy Bypass -File "%~dp0health-check.ps1" %*
|
|
) else (
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0health-check.ps1" %*
|
|
)
|