mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-25 16:18:55 +01:00
Improve the output
This commit is contained in:
parent
be825c1787
commit
be5d5b88a1
@ -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])"
|
||||
|
@ -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])"
|
||||
|
Loading…
Reference in New Issue
Block a user