Files
2025-11-21 17:17:42 +01:00

466 B

Description

Speaks through your targets speakers

The Function

[Speak]

Using SAPI.SpVoice you will feed strings to the functions to have it speak through your targets speakers using the following syntax

speak "you have been hacked"
function speak {

[CmdletBinding()]
param (	
[Parameter (Position=0,Mandatory = $True)]
[string]$Sentence
) 

$s=New-Object -ComObject SAPI.SpVoice
$s.Rate = -2
$s.Speak($Sentence)
}