frgnca / AudioDeviceCmdlets

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

Feature request - Control disabled devices #21

Open cappaji opened 6 years ago

cappaji commented 6 years ago

Is it possible to add the cmdlet to return the device name of the disabled audio device ?

Currently if we execute 'Get-AudioDevice -Playback' after disabling the audio device we get below exception. Get-AudioDevice : Element not found. (Exception from HRESULT: 0x80070490) At line:1 char:1

frgnca commented 6 years ago

Yes, currently AudioDeviceCmdlets only support enabled devices, but I think an optional -ShowDisabled parameter could be added.

cappaji commented 6 years ago

Thanks. It would be really great and helpful if the option -ShowDisabled is added.

frgnca commented 5 years ago

I opened the pull request #25 to try and add this feature in the next version.

mrtbrt17 commented 3 years ago

Hello, Was this left abandoned?