Improved the scripts

This commit is contained in:
Markus Fleschutz
2021-01-27 15:12:17 +01:00
parent 676a0898a7
commit dcc52122c4
15 changed files with 92 additions and 96 deletions

View File

@ -6,7 +6,7 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
function Speak([string]$Text) {
function Speak { param([string]$Text)
write-progress "$Text"
$Voice = new-object -ComObject SAPI.SPVoice
$Voices = $Voice.GetVoices()