Skip to content

Instantly share code, notes, and snippets.

View diogenes25's full-sized avatar
🎯
Focusing

Tjark diogenes25

🎯
Focusing
View GitHub Profile
@heiswayi
heiswayi / SerialPortReader.ps1
Last active November 3, 2022 15:02
PowerShell Script - Serial Port Reader
<#
.SYNOPSIS
Listens to and read data from a serial port (e.g. COM port)
.DESCRIPTION
The purpose of this script is to keep listening and read data from a serial port.
All the data captured will be displayed and log into a file.
.EXAMPLE
./SerialPortReader.ps1
.EXAMPLE
./SerialPortReader.ps1 -PortName COM3 -BaudRate 9600