Improve the output

This commit is contained in:
Markus Fleschutz 2021-04-25 19:57:19 +02:00
parent be825c1787
commit be5d5b88a1
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
try {
$obj = new-object -com wscript.shell
$obj.SendKeys([char]173)
"🔇 audio muted."
"🔇 audio is muted"
exit 0
} catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -1,6 +1,6 @@
<#
.SYNTAX unmute-audio.ps1
.DESCRIPTION unmutes audio output
.DESCRIPTION unmutes the audio output
.LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0
#>
@ -8,7 +8,7 @@
try {
$obj = new-object -com wscript.shell
$obj.SendKeys([char]173)
"🔈 audio unmuted."
"🔈 audio is unmuted"
exit 0
} catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"