Update my-profile.ps1

This commit is contained in:
Markus Fleschutz 2021-12-08 18:25:10 +01:00
parent 5746609a35
commit c955685fa4

View File

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