Hardware icon indicating copy to clipboard operation
Hardware copied to clipboard

Standardize PowerShell Prompt

Open jdrch opened this issue 4 years ago • 2 comments

Standardize to: Username@Hostname YYYY-MM-DD HH:MM:SS:PresentWorkingDirectory>

with the following colors:

username: green

hostname: blue

YYYY-MM-DD HH:MM:SS: purple

:: white

PresentWorkingDirectory: blue

>: white

So far the date and time format can be retrieved via:

Get-Date -UFormat '%Y-%m-%d %H:%M:%S'

jdrch avatar Apr 07 '20 03:04 jdrch

Done!

jdrch avatar Nov 25 '23 05:11 jdrch