Blog Home

Showcase your project: ListComPorts per Windows

Alessandro PaganelliFebruary 15th, 2013

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

  1. jfrmilner Says:


    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:


Leave a Reply

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