I guess this could be done wireless with an app.. I dunno, it would be cool though. This way I could give voice commands to my Mac Mini without having to buy a headset/mic
You can use an app called Megaphone (free), then connect the headphone output of the iPhone to the Mic input of your PC.
Voila!...microphone