frgnca / AudioDeviceCmdlets

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

Set-DefaultAudioDevice error #6

Closed cgrace70 closed 8 years ago

cgrace70 commented 8 years ago

I get the following error when I try to use the Set-DefaultAudioDevice cmdlet:

"Set-DefaultAudioDevice : Object reference not set to an instance of an object."

I can import the module without any issues. I don't seem to have any issues with any of the other cmdlets. I'm running 64-bit Windows 10 Pro (PowerShell v5). I don't have an issue on a second computer using 64-bit Windows 7 Pro (PowerShell v4). Both systems have multiple audio devices.

Please let me know if there is any other information I can provide to you.