frgnca / AudioDeviceCmdlets

AudioDeviceCmdlets is a suite of PowerShell Cmdlets to control audio devices on Windows
MIT License
737 stars 92 forks source link

Get-AudioDevice : Parameter set cannot be resolved using the specified named parameters. #46

Closed lennartboorsma closed 2 years ago

lennartboorsma commented 2 years ago

Hi,

Seems that the cmdlet is not function well anymore. Can you tell whats the problem?

It's on a Windows 10 1909 Enterprise OS with latest secuirity patches. Also on 20H2 it doesnt work.

Get-AudioDevice : Parameter set cannot be resolved using the specified named parameters. At line:1 char:1

frgnca commented 2 years ago

This error is normal behavior. Please see the Usage section of the README.

To be able to work, the Get-AudioDevice cmdlet needs to receive a parameter like

Get-AudioDevice -List

or maybe an index number like

Get-AudioDevice -Index 1

These should not end in error.
Hope this helps, have a nice day.