:: <# BEGIN POWERSHELL AS BATCH HEADER
:: generated by pwshc (https://github.com/Koswu/pwshc), do not edit
@ECHO OFF
del %~s0.ps1 >nul 2>&1  {# delete temp PowerShell file (if exists) #}
{% if auto_elevate %}
net session >nul 2>&1
if %errorlevel% neq 0 (
    echo "Reruning as administrator..."
    powershell -Command "Start-Process '%~f0' -Verb runAs"
    exit /b
)
{% endif %}
copy %~s0 %~s0.ps1 >nul {# copy the current file to a PowerShell file #}
PowerShell.exe -ExecutionPolicy Unrestricted -NoProfile -Command function :: {}; %~s0.ps1 %* {# execute PowerShell script #}
del %~s0.ps1 >nul 
GOTO :EOF {# exit #}
:: END POWERSHELL AS BATCH HEADER #>
. {{ '{' }}
{{ script }}
{{ '}' }} @Args