Change welcome message

This commit is contained in:
Markus Fleschutz 2021-07-12 14:54:50 +02:00
parent ee7ad47d43
commit b8d73c8cc7

View File

@ -9,7 +9,7 @@
if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME } if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME }
$Time = (get-date).ToString('t') $Time = (get-date).ToString('t')
$host.ui.RawUI.WindowTitle = "$Username @ $(hostname)" $host.ui.RawUI.WindowTitle = "$Username @ $(hostname)"
"Welcome to 💻$(hostname) at 📂$(get-location), it's $Time" "Welcome to PowerShell at 📂$(get-location) on 💻$(hostname), it's $Time"
# My Command Prompt # My Command Prompt