Updated the manuals

This commit is contained in:
Markus Fleschutz
2024-08-15 09:51:46 +02:00
parent 654d1a18d0
commit e1ffab5509
633 changed files with 2120 additions and 973 deletions

View File

@@ -1,7 +1,7 @@
Script: *list-bluetooth-devices.ps1*
========================
This PowerShell script lists all Bluetooth devices connected to the computer.
This PowerShell script lists all Bluetooth devices connected to the local computer.
Parameters
----------
@@ -20,9 +20,9 @@ PS> ./list-bluetooth-devices.ps1
Status Class FriendlyName InstanceId
------ ----- ------------ ----------
OK Bluetooth Realtek Bluetooth 5.3 Adapter USB\VID_...
FriendlyName Status InstanceId
------------ ------ ----------
G3 Headset OK BTHENUM\DEV_FC58FA7A51C6\8&152049BE&0&BLUETOOTHDEVICE_FC58FA7A51C6
...
```
@@ -42,13 +42,13 @@ Script Content
.SYNOPSIS
Lists Bluetooth devices
.DESCRIPTION
This PowerShell script lists all Bluetooth devices connected to the computer.
This PowerShell script lists all Bluetooth devices connected to the local computer.
.EXAMPLE
PS> ./list-bluetooth-devices.ps1
Status Class FriendlyName InstanceId
------ ----- ------------ ----------
OK Bluetooth Realtek Bluetooth 5.3 Adapter USB\VID_...
FriendlyName Status InstanceId
------------ ------ ----------
G3 Headset OK BTHENUM\DEV_FC58FA7A51C6\8&152049BE&0&BLUETOOTHDEVICE_FC58FA7A51C6
...
.LINK
https://github.com/fleschutz/PowerShell
@@ -57,7 +57,7 @@ Script Content
#>
try {
Get-PnpDevice | Where-Object {$_.Class -eq "Bluetooth"}
Get-PnpDevice | Where-Object {$_.Class -eq "Bluetooth"} | Sort-Object -property FriendlyName | Format-Table -property FriendlyName,Status,InstanceId
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
@@ -65,4 +65,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 using the comment-based help of list-bluetooth-devices.ps1 as of 05/19/2024 10:25:21)*
*(generated by convert-ps2md.ps1 using the comment-based help of list-bluetooth-devices.ps1 as of 08/15/2024 09:50:48)*