MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PowerShell/comments/bpsvvu/2019_powershell_summit_youtube/eo0a2r0/?context=3
r/PowerShell • u/brianbunke • May 17 '19
14 comments sorted by
View all comments
2
Thanks for sharing.
It seems like he gets the last command execution time in the terminal printed out automatically. Anyone knows how to set that up in VSCode?
3 u/PSFred May 18 '19 You can find all the materials to my session here:https://github.com/FriedrichWeinmann/P2019-PSSummit-Logging-in-a-DevOps-WorldThe prompt is defined in setup.ps1: https://github.com/FriedrichWeinmann/P2019-PSSummit-Logging-in-a-DevOps-World/blob/master/system/setup.ps1(All my presentations have an install script that modify the VSCode profile to restore all the prerequisites for my presentation in case of console crash. Which once again paid out ;) ) 1 u/l0wet May 23 '19 Thanks for sharing, I will check it out :) 0 u/AutoModerator May 18 '19 Sorry, your submission has been automatically removed.Accounts must be at least 1 day old, which prevents the sub from filling up with bot spam.Try posting again tomorrow or message the mods to approve your post.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. 2 u/halbaradkenafin May 18 '19 Dbatools has a blog post on how to set it up I your prompt function, there's a handful of other ways to do it too and make it look pretty.Check out Thomas Rayner's baller prompts talk for more ideas on how to do it in funky ways (and a bunch of other cool prompt tricks).
3
You can find all the materials to my session here:
https://github.com/FriedrichWeinmann/P2019-PSSummit-Logging-in-a-DevOps-World
The prompt is defined in setup.ps1: https://github.com/FriedrichWeinmann/P2019-PSSummit-Logging-in-a-DevOps-World/blob/master/system/setup.ps1
(All my presentations have an install script that modify the VSCode profile to restore all the prerequisites for my presentation in case of console crash. Which once again paid out ;) )
1 u/l0wet May 23 '19 Thanks for sharing, I will check it out :) 0 u/AutoModerator May 18 '19 Sorry, your submission has been automatically removed.Accounts must be at least 1 day old, which prevents the sub from filling up with bot spam.Try posting again tomorrow or message the mods to approve your post.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
Thanks for sharing, I will check it out :)
0
Sorry, your submission has been automatically removed.
Accounts must be at least 1 day old, which prevents the sub from filling up with bot spam.
Try posting again tomorrow or message the mods to approve your post.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Dbatools has a blog post on how to set it up I your prompt function, there's a handful of other ways to do it too and make it look pretty.
Check out Thomas Rayner's baller prompts talk for more ideas on how to do it in funky ways (and a bunch of other cool prompt tricks).
2
u/l0wet May 18 '19
Thanks for sharing.
It seems like he gets the last command execution time in the terminal printed out automatically. Anyone knows how to set that up in VSCode?