- Aug
- 1,943
- 71
In reference to How to? - Any way to display the battery status of my bluetooth devices?
On my system...
...returns...
I want the Tribit Bluetooth speaker...
...which returns...
To get the properties of the Tribit Bluetooth speaker...
...which returns...
Joe
On my system...
Code:
pshell /s "Get-PnpDevice -Class 'Bluetooth'"
...returns...
Status Class FriendlyName InstanceId
------ ----- ------------ ----------
OK Bluetooth Microsoft Bluetooth Enumerator BTH\MS_BT...
OK Bluetooth D-Link DBT-122 Bluetooth 2.0 USB Device USB\VID_0...
OK Bluetooth HR Port Spkr Avrcp Transport BTHENUM\{...
OK Bluetooth HR Port Spkr BTHENUM\D...
OK Bluetooth Tribit XSound Go BTHENUM\D...
OK Bluetooth Bluetooth Device (RFCOMM Protocol TDI) BTH\MS_RF...
OK Bluetooth Tribit XSound Go Avrcp Transport BTHENUM\{...
OK Bluetooth Tribit XSound Go Avrcp Transport BTHENUM\{...
I want the Tribit Bluetooth speaker...
Code:
pshell /s "Get-PnpDevice -Class 'Bluetooth' -FriendlyName 'Tribit XSound Go'"
...which returns...
Status Class FriendlyName InstanceId
------ ----- ------------ ----------
OK Bluetooth Tribit XSound Go BTHENUM\D...
To get the properties of the Tribit Bluetooth speaker...
Code:
Get-PnpDevice -Class 'Bluetooth' -FriendlyName 'Tribit XSound Go' | Get-PnpDeviceProperty
...which returns...
InstanceId KeyName Type Data
---------- ------- ---- ----
BTHENUM... DEVPKEY_Device_DeviceDesc String Bluetooth Device
BTHENUM... DEVPKEY_Device_HardwareIds StringList {BTHENUM\Dev_F44EFD00C255}
BTHENUM... DEVPKEY_Device_CompatibleIds StringList {BTHENUM\GENERIC_DEVICE}
BTHENUM... DEVPKEY_Device_Class String Bluetooth
BTHENUM... DEVPKEY_Device_ClassGuid Guid {E0CBF06C-CD8B-4647-BB8A-263B43F0F974}
BTHENUM... DEVPKEY_Device_Driver String {e0cbf06c-cd8b-4647-bb8a-263b43f0f974}\0007
BTHENUM... DEVPKEY_Device_ConfigFlags UInt32 0
BTHENUM... DEVPKEY_Device_Manufacturer String Microsoft
BTHENUM... DEVPKEY_Device_FriendlyName String Tribit XSound Go
BTHENUM... DEVPKEY_Device_PDOName String \Device\000000c4
BTHENUM... DEVPKEY_Device_Capabilities UInt32 196
BTHENUM... DEVPKEY_Device_EnumeratorName String BTHENUM
BTHENUM... DEVPKEY_Device_PowerData Binary {56, 0, 0, 0...}
BTHENUM... DEVPKEY_Device_RemovalPolicy UInt32 3
BTHENUM... DEVPKEY_Device_RemovalPolicyDefault UInt32 3
BTHENUM... DEVPKEY_Device_InstallState UInt32 0
BTHENUM... DEVPKEY_Device_BaseContainerId Guid {9769E69E-7E66-5F51-83E7-D493FF01D8F0}
BTHENUM... DEVPKEY_NAME String Tribit XSound Go
BTHENUM... DEVPKEY_Device_InstanceId String BTHENUM\DEV_F44EFD00C255\8&495D9F9&0&BLUETOOTHDEVICE_...
BTHENUM... DEVPKEY_Device_DevNodeStatus UInt32 58744842
BTHENUM... DEVPKEY_Device_ProblemCode UInt32 0
BTHENUM... DEVPKEY_Device_Parent String BTH\MS_BTHBRB\7&83b9b5&1&1
BTHENUM... DEVPKEY_Device_Siblings StringList {BTHENUM\{0000110a-0000-1000-8000-00805f9b34fb}_LOCAL...
BTHENUM... DEVPKEY_Device_SafeRemovalRequired Boolean False
BTHENUM... DEVPKEY_Device_ContainerId Guid {9769E69E-7E66-5F51-83E7-D493FF01D8F0}
BTHENUM... DEVPKEY_Device_IsPresent Boolean True
BTHENUM... DEVPKEY_Device_HasProblem Boolean False
BTHENUM... {83DA6326-97A6-4088-9453-A1923F573B29} 15 Boolean False
BTHENUM... DEVPKEY_Device_IsRebootRequired Boolean False
BTHENUM... DEVPKEY_Device_ReportedDeviceIdsHash UInt32 2349644414
BTHENUM... DEVPKEY_Device_InLocalMachineContainer Boolean False
BTHENUM... DEVPKEY_Device_Stack StringList {\Driver\BthEnum}
BTHENUM... {A8B865DD-2E3D-4094-AD97-E593A70C75D6} 26 Boolean False
BTHENUM... DEVPKEY_Bluetooth_DeviceAddress String F44EFD00C255
BTHENUM... DEVPKEY_Bluetooth_ServiceGUID Guid {00000000-0000-0000-0000-000000000000}
BTHENUM... DEVPKEY_Bluetooth_DeviceFlags UInt32 16799
BTHENUM... {2BD67D8B-8BEB-48D5-87E0-6CDA3428040A} 4 UInt32 2360324
BTHENUM... {2BD67D8B-8BEB-48D5-87E0-6CDA3428040A} 5 FileTime 2024-02-27 6:35:25 AM
BTHENUM... DEVPKEY_Bluetooth_ClassOfDevice UInt32 2360324
BTHENUM... DEVPKEY_Bluetooth_LastConnectedTime FileTime 2024-02-27 6:35:25 AM
BTHENUM... {3464F7A4-2444-40B1-980A-E0903CB6D912} 10 UInt32 3
BTHENUM... {3B2CE006-5E61-4FDE-BAB8-9B8AAC9B26DF} 8 String Bluetooth#Bluetooth00:18:e7:c3:65:be-f4:4e:fd:00:c2:55
BTHENUM... DEVPKEY_Device_Numa_Node UInt32 0
BTHENUM... DEVPKEY_Device_BusReportedDeviceDesc String Bluetooth Peripheral Device
BTHENUM... DEVPKEY_Device_ConfigurationId String bth.inf:BTHENUM\GENERIC_DEVICE,BthGenericDevice.NT
BTHENUM... DEVPKEY_DeviceContainer_DiscoveryMethod StringList {Bluetooth}
BTHENUM... DEVPKEY_DeviceContainer_Category StringList {Communication.Headset.Bluetooth}
BTHENUM... DEVPKEY_DeviceContainer_UnpairUninstall Boolean True
BTHENUM... DEVPKEY_DeviceContainer_AlwaysShowDevi... Boolean True
BTHENUM... {80497100-8C73-48B9-AAD9-CE387E19C56E} 6 UInt32 0
BTHENUM... {83DA6326-97A6-4088-9453-A1923F573B29} 3 String bth.inf:00a2c5fcb624f55d:BthGenericDevice.NT:10.0.190...
BTHENUM... {83DA6326-97A6-4088-9453-A1923F573B29} 10 String BTH\MS_BTHBRB\7&83b9b5&1&1
BTHENUM... {83DA6326-97A6-4088-9453-A1923F573B29} 17 Boolean True
BTHENUM... DEVPKEY_Device_InstallDate FileTime 2023-09-10 9:32:14 AM
BTHENUM... DEVPKEY_Device_FirstInstallDate FileTime 2023-09-10 9:32:14 AM
BTHENUM... DEVPKEY_Device_LastArrivalDate FileTime 2024-02-27 10:46:43 AM
BTHENUM... {A35996AB-11CF-4935-8B61-A6761081ECDF} 12 String f4:4e:fd:00:c2:55
BTHENUM... DEVPKEY_Device_DriverDate FileTime 2006-06-20 8:00:00 PM
BTHENUM... DEVPKEY_Device_DriverVersion String 10.0.19041.3930
BTHENUM... DEVPKEY_Device_DriverDesc String Bluetooth Device
BTHENUM... DEVPKEY_Device_DriverInfPath String bth.inf
BTHENUM... DEVPKEY_Device_DriverInfSection String BthGenericDevice.NT
BTHENUM... DEVPKEY_Device_MatchingDeviceId String BTHENUM\GENERIC_DEVICE
BTHENUM... DEVPKEY_Device_DriverProvider String Microsoft
BTHENUM... DEVPKEY_Device_DriverRank UInt32 16719872
Joe