All recent Microsoft operating systems (that is Windows XP, Windows Vista and Windows 7) come with Bluetooth support provided they are equipped with a Bluetooth Dongle or other hardware device that is used to detect and connect the Bluetooth devices in the proximity of the computer system.
Bluetooth CL has been designed to provide a quick and effective way of detecting Bluetooth devices on computer systems running Windows that support Bluetooth. It is a command line software that detects Bluetooth devices and displays its MAC address, name, major and minor device type and optionally the company name of the device.
The command line tool does not come with a lot of options unlike other Nirsoft applications. It can be executed by simply launching BluetoothCL.exe without parameters. The results are then displayed in the command line window. It is possible to dump the results in a text file by simply appending > bluetooth.txt (or whatever you want to name the text file) after the file name.
The only other parameter that is available is the timeout parameter that defines the timeout for the Bluetooth scanning process. Appending -timeout xx where xx is the time in seconds will do the trick. To dump a list of all Bluetooth devices in the file blue.txt with a timeout of 20 seconds one would issue the following command:
BluetoothCL.exe -timeout 20 > blue.txt
The company name of the device cannot be detected unless the text document oui.txt is downloaded from another website and put in the same directory as the BluetoothCL executable.

Find out which devices have been connected to your pc
Quickly Remove USB Devices
Automatically Lock your computer