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.
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.