Improve a bit

This commit is contained in:
Markus 2021-12-11 17:02:33 +01:00
parent 9ce6a1e06f
commit ff683cdf96
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
# The Welcome Message
# -------------------
"Welcome to PowerShell at $(hostname) in 📂$(get-location)"
"Welcome to PowerShell at $(hostname)'s 📂$(get-location)"
# The Window Title

View File

@ -20,7 +20,7 @@ try {
for ([int]$i = 0; $i -lt $percent; $i += 2) {
$obj.SendKeys([char]175) # each tick is +2%
}
& "$PSScriptRoot/give-reply.ps1" "$($percent)% more volume"
& "$PSScriptRoot/give-reply.ps1" "OK, $($percent)% louder."
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"