Question

Locked

PowerShell and COM Ports

By mark@summa ·
Does anyone know if there is a way using PowerShell to send/receive data through a COM Port? I'm trying to communicate with an old piece of equipment that is only accessible through an RS-232 port using async send/receive messages.

So the basic syntax of what would be needed would be to..
open the com port
send message
receive message into a variable
parse message
based on received message, make decision send new message, and wait for response that will go into a variable.
repeat...

(Note - I realize the above is extremely simplified, just looking for a heads-up on if PowerShell is capable of doing something like this and if so a few tips on where to get started).

Thank you!!

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums