10 lines
272 B
Batchfile
10 lines
272 B
Batchfile
@echo off
|
|
setlocal
|
|
set "SCRIPT=%~dp0ObfuscatedExceptionDecoder.ps1"
|
|
where pwsh.exe >nul 2>nul
|
|
if %errorlevel%==0 (
|
|
pwsh.exe -NoProfile -ExecutionPolicy Bypass -STA -File "%SCRIPT%"
|
|
) else (
|
|
powershell.exe -NoProfile -ExecutionPolicy Bypass -STA -File "%SCRIPT%"
|
|
)
|