From dba5880e41a764084d10920ba0b78e2825de8443 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 3 Apr 2021 15:46:30 +0200 Subject: [PATCH] Improved my-profile.ps1 --- Scripts/my-profile.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Scripts/my-profile.ps1 b/Scripts/my-profile.ps1 index 405b9147..53404e15 100755 --- a/Scripts/my-profile.ps1 +++ b/Scripts/my-profile.ps1 @@ -1,6 +1,6 @@ # My PowerShell Profile # ===================== -# Welcome to 'my-profile.ps1' - this file defines the look&feel of PowerShell. +# Welcome to 'my-profile.ps1' - this file defines the look&feel of PowerShell for the user. # Simply comment/uncomment/adapt the following lines. # # @@ -22,3 +22,10 @@ function prompt { # My Alias Names # -------------- set-alias -name lsf -value get-childitem # lsf means list directory formatted + + +# My Welcome Message +# ------------------ +clear +Write-Host "PowerShell $($PSVersionTable.PSVersion) at $(hostname) - $(Get-date)" +Write-Host '' \ No newline at end of file