Switch default recording device
-
Sunday, November 11, 2012 7:57 PMI want to write a script that sets the default recording device from Microphone to What U Hear and vice versa. Any ideas ?
All Replies
-
Monday, November 12, 2012 1:33 AM
-
Saturday, November 17, 2012 9:12 PMThanks jrv, I want to write a powershell script for this so I need to learn how to use this com interface through the commandline. I have been searching but haven't found any info could someone direct me to some article or page on using com interfaces through commandline ?
-
Saturday, November 17, 2012 10:08 PM
Thanks jrv, I want to write a powershell script for this so I need to learn how to use this com interface through the commandline. I have been searching but haven't found any info could someone direct me to some article or page on using com interfaces through commandline ?
You cannot use COM interfaces from the commandline. YOU can use then from compiled programs and, when the obeject is designed toi support late binding, you can call it from many scirping languages.
Everything I see about this object tells me that what you are trying to do cannot be done from script or from the commandline.
The API in the above link can be used to create a utility that can do what you need but it would have to be a compiled program.
¯\_(ツ)_/¯
- Edited by jrvMicrosoft Community Contributor Saturday, November 17, 2012 10:10 PM
- Edited by jrvMicrosoft Community Contributor Saturday, November 17, 2012 10:11 PM
- Marked As Answer by Bill_StewartMicrosoft Community Contributor, Moderator Saturday, November 24, 2012 5:15 PM

