1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-20 17:23:06 +01:00
Files
esp32-nmea2000-obp60/tools/esp32n2k-flashtool.ps1
2021-12-25 17:42:23 +01:00

9 lines
331 B
PowerShell

@echo off
Rem Make powershell read this file, skip a number of lines, and execute it.
Rem This works around .ps1 bad file association as non executables.
PowerShell -Command "Get-Content '%~dpnx0' | Select-Object -Skip 6 | Out-String | Invoke-Expression"
pause
goto :eof
# Start of PowerShell script here
Write-Host "Hello World!"