This will cause a system to ‘say’ a phrase.
Add-Type -AssemblyName System.speech
$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer
$speak.Speak("INSERT SPEECH TEXT HERE")
February 7, 2025
This will cause a system to ‘say’ a phrase.
Add-Type -AssemblyName System.speech
$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer
$speak.Speak("INSERT SPEECH TEXT HERE")