Give your PowerShell some voice! This function utilizes the System.Speech.Synthesis namespace to allow PowerShell to talk to you by giving it words or other items to use. This accepts input via the pipeline as well and can save the output to an audio file instead of speaking.

Related blog post: http://learn-powershell.net/2013/12/04/give-powershell-a-voice-using-the-speechsynthesizer-class/

Remember to dot source the script to load the function into the console for use.

 

PowerShell
Edit|Remove
. .\Out-Voice.ps1
 
PowerShell
Edit|Remove
"This is a test" | Out-Voice