Convert a text to speech
Version : 1.0
File Name : say.ps1
Author : Adewale Azeez - iamthecarisma@gmail.com
Date : Jul-30-2020
This will use the powershell SpeechSynthesizer module to convert the text to speech.
All the text after the say command is spoken
say [<CommonParameters>]
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
System.String[]
System.String
say hello World
This will use the WinAPI to speak the text ‘hello World’