Customising the PowerShell prompt to show date and time

Depending on your reason for using the PowerShell prompt at it, it might be useful to include data such as timestamps in your recorded output, to enable better auditing. This post will walk you through the simple steps needed for customising the PowerShell prompt, including how to show the current date and time. What exactly do I mean by the PowerShell prompt and what does the typical prompt look like by default?...

July 24, 2021 · 3 min · Tom