You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
powershell.exe -command "Get-CimInstance -ClassName Win32_PnPEntity | Where-Object Caption -like 'Standard Serial over Bluetooth link (COM*' | Select Name" 2> /dev/null
We need to fix the | awk '$0 ~ /COM/{print substr($6,2,4)}'
PS C:\Users\User> powershell.exe -command "Get-CimInstance -ClassName Win32_PnPEntity | Where-Object Caption -like 'Standard Serial over Bluetooth link (COM*' | Select Name"
Name
----
Standard Serial over Bluetooth link (COM10)
Describe the bug
when finding a comport larger than 10, com10 etc, it reports it as com1.
To Reproduce
Expected behavior
More than 10comports
and the comports above 10 should have correct numbering.
The text was updated successfully, but these errors were encountered: