mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-10 02:28:57 +02:00
Improve a bit
This commit is contained in:
parent
9ce6a1e06f
commit
ff683cdf96
@ -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
|
||||
|
@ -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))"
|
||||
|
Loading…
Reference in New Issue
Block a user