Reputation: 14025
I am searching a way to know through a command line if the bluetooth module is activated on Windows OS.
Anyone would know a shell command or anything else?
EDIT
I found these tools on the net this morning which could work for me, but I am still searching a solution without third parties:
Upvotes: 3
Views: 24075
Reputation: 3440
There are a couple of scripts at https://devblogs.microsoft.com/scripting/hey-scripting-guy-how-can-i-tell-if-a-computer-is-bluetooth-enabled/ They should be useable.
Note that'll detect the Microsoft Bluetooth stack -- I haven't tested them with the (getting rarer) Widcomm, BlueSoleil, etc stacks. Note also they detect the networking parts of the Bluetooth support but that shouldn't really matter.
Upvotes: 1
Reputation: 14025
On Windows, a simple command line ipconfig
display the bluetooth adapter if the module is activated
Ethernet adapter Bluetooth Network Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Upvotes: 2
Reputation: 2073
Trying using
netsh wlan>
as most adapters come with Bluetooth and Wifi together
Upvotes: 0