Update turn-volume-on.ps1

This commit is contained in:
Markus Fleschutz 2023-02-02 14:01:23 +01:00 committed by GitHub
parent 4093d2079d
commit e85b6e594b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,6 @@
try {
$obj = new-object -com wscript.shell
$obj.SendKeys([char]173)
& "$PSScriptRoot/speak-english.ps1" "Audio is on."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"