Showcase your project: ListComPorts per Windows

Alessandro PaganelliFebruary 15th, 2013

One Response to “Showcase your project: ListComPorts per Windows”

  1. jfrmilner Says:

    Hi,

    I do this from PowerShell which will be installed on almost all Windows OSs. This is a simple one line command:
    Get-WmiObject Win32_SerialPort | Where-Object { $_.Name -match “Arduino”} | Select-Object Description, DeviceID

    Running this on my system with two Arduino connected I get:
    Description DeviceID
    ———– ——–
    Arduino Mega 2560 R3 COM5
    Arduino UNO R3 COM4

    Simple and quick.

    Also here is an example of me using the above to automatically find my Arduino to send serial commands so I don’t need to check each time: http://jfrmilner.wordpress.com/2012/12/30/powershell-power-sockets-arduinorf-part-3-use-powershell-to-send-serial-commands-to-your-arduino/

    Regards,
    jfrmilner

Leave a Reply

You must be logged in with your Arduino account to post a comment.

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy