Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
executable file 21 lines (12 sloc) 423 Bytes
chcp 65001
where pwsh
if not ERRORLEVEL 0 (
goto USE_POWERSHELL
)
:USE_POWERSHELL_CORE
@pwsh.exe -NoProfile -InputFormat None -ExecutionPolicy Bypass -Interactive -NoExit -File gen_sample_output.ps1
pause
exit %ERRORLEVEL%
:USE_POWERSHELL
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Interactive -NoExit -File gen_sample_output.ps1
pause