mgeeky-Penetration-Testing-.../red-teaming/C3-Client/speak.ps1

8 lines
164 B
PowerShell

param (
[string]$message
)
Add-Type -AssemblyName System.Speech
$synth = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer
$synth.Speak($message)