Skip to content

"Get-AudioDevice -List" throws 0x80070490 Exception #71

@lamrongol

Description

@lamrongol

Get-AudioDevice -List command outputs:

Index   : 1
Default : True
Type    : Playback
Name    : Speaker (XMOS USB Audio)
ID      : {0.0.0.00000000}.{xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx}
Device  : CoreAudioApi.MMDevice

Get-AudioDevice : "Element not found. (Exception from HRESULT: 0x80070490)"
At line:1 char:1
+ Get-AudioDevice -List
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-AudioDevice], COMException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,AudioDeviceCmdlets.GetAudioDevice

(The message is actually in Japanese, but I have replaced it with an English message that I think is relevant. ID is masked just in case.)

When default device is set to "Headphone", device information is not displayed and only error messages are displayed("Get-AudioDevice : "Element not found. (Exception from HRESULT: 0x80070490)" and below).

I've looked at past Issues and they have been resolved, but it happens in my environment.
Windows 10 Home 22H2 19045.2913
Windows Feature Experience Pack 1000.19041.1000.0
Powershell version is 5.1.19041.2673
Installed by Install-Module -Name AudioDeviceCmdlets -RequiredVersion 3.1.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions