There is the echo cmd command which can send a string to a COM port without opening it up:

echo Hello > COM1

I'm aware of the PowerShell (PS) procedure, creating a serial object

$port= new-Object System.IO.Ports.SerialPort COM3,9600,None,8,one $port.open() $port.ReadLine() $port.Close()

But I'm looking for an one-liner equvalent of UNIX's tail / cat commands to just flush the content into the stdout without opening the port. I have tried different combinations of copy and type commands. but they do not work. For example

type COM7