PowerShell COMMAND FOR SERIAL PORT code example Example: powershell connect to serial port Copied![System.IO.Ports.SerialPort]::getportnames()