How To Get Monitor Serial Number Through Command Prompt
How would I go about viewing a list of COM ports in use without the use of Device Manager?
Apr 13, 2012 - I have read a few posts that mention Monitor information but none that I saw answered this question: Can the Model and Serial number of a monitor connected to a computer with the. It's first time I'm using Sysaid forum.
I don't want to install any software either. Is there a possible way to do this through the command line?
7 Answers
In the command prompt use
mode
Used without parameters, mode
displays all the controllable attributes of the CON
(console) and the available COM
devices (and LPT
as well).
Accepts /?
switch for basic help:
mode /?
In the command prompt use:
OR
In PowerShell:
OR
Hope this helps.
I know the question has been answered, but this is another method.
In command prompt, use:chgport
in windows Vista and up. Lists your ports and which device they are.
Using mode
Skyrim save editor xbox 360 free download. most of the time I don't see the devices that are not connected.
I prefer to use this solution with Python:
So I can see anything plugged in even if the connection is closed.
serial.tools.list_ports is from package pyserial.
wmic https://docs.microsoft.com/en-us/windows/desktop/wmisdk/wmic is a windows command line utility to get system information.
If your serial port is virtual created by some driver through USB connection, use this example to get details about these serial ports.
The snippet below lists serial ports into the $PORTS variable
PORTS=/c/Windows/System32/mode.com grep Status.*COM awk '{ print $4 }' sed s/://
echo -n 'Programming (echoing) ports: 'for aa in $PORTS; do echo -n $aadoneecho '
How To Get Monitor Serial Number Using Wmic
You can also run the following from cmd.exe prompt
And here is an open source utility to do the same and more:https://todbot.com/blog/2012/03/02/listcomports-windows-command-line-tool-for-usb-to-serial/
protected by Community♦Feb 2 at 20:37
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?