Powershell Script to Change the Default Audio (In/Out) Device in Windows 7 Description.As a third option, still for Vista and above, all the audio input (capture & recording) devices can be extracted from the register (explained here by
#Microsoft audio recorder windows 10 how to#
How to Disable / Enable Webcam with PowerShell Scripts.
For example, Example Get-WmiObject win32_PnpSignedDriver
txt for /f "tokens=1 delims=," %d in ('type Audio. The first thing to do is to find the audio device.