Skip to content

Get BluetoothBattery

github-actions[bot] edited this page Nov 27, 2026 · 2 revisions

Get-BluetoothBattery

Lists Bluetooth PnP devices that expose Windows' battery percentage property, with cleaned friendly names and instance IDs.

Usage

. .\Get-BluetoothBattery.ps1
Get-BluetoothBattery -Name 'Sony'

Parameters

  • -Name: Optional substring to filter accessory names; defaults to all Bluetooth devices.

Returns

Name, BatteryPercent, InstanceId.

Notes

The accessory must report a battery value to Windows; absent reports produce no row.

Source script · Documentation page

Clone this wiki locally