This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.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 |