DCSIMG
Prompt,PowerShell - Shay Levy

Shay Levy

If you repeat it, PowerShell it!

News


btn_donate_LG

View Shay Levy's profile on LinkedIn Follow Shay Levy at Twitter Shay Levy's Facebook profile Subscribe to my FriendFeed


site statistics




Browse by Tags

All Tags » Prompt » PowerShell (RSS)
Sorry, but there are no more tags available to filter with.
Custom PowerShell prompt
If you are used to measuring commands in PowerShell then this custom prompt can be useful for you. Instead of measuring commands manually (with measure-command), the custom prompt code (below, comments inline) automates the measuring process and presents three bits of information at the console title. Here is how it looks: The first part (c:\scripts) shows the current working directory. The second part (Session Execution Time: 00:12:15) displays, in HH:mm:ss format, the total amount of time it took...