Improved my-profile.ps1

This commit is contained in:
Markus Fleschutz 2021-04-03 15:46:30 +02:00
parent e113db34f4
commit dba5880e41

View File

@ -1,6 +1,6 @@
# My PowerShell Profile # 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. # Simply comment/uncomment/adapt the following lines.
# #
# #
@ -22,3 +22,10 @@ function prompt {
# My Alias Names # My Alias Names
# -------------- # --------------
set-alias -name lsf -value get-childitem # lsf means list directory formatted 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 ''