Get-PnpDevice | ? { ($_.Class -like "MEDIA" -or $_.Class -like "AudioEndpoint") -and $_.Present -eq $true } | sort class | select Status,Class,FriendlyName,*Error*
Get-PnpDevice | ? { ($_.Class -like "MEDIA" -or $_.Class -like "AudioEndpoint") -and $_.Present -eq $true } | sort class | select Status,Class,FriendlyName,*Error*