Lessons Learned

My drop-site for interesting snippets and tips. If it's useful to you as well, great!

Browse by Tags

Tagged Content List
  • Blog Post: Those Who Don’t Know Their History…

    My function:\prompt changes every so often. For my latest, see http://blogs.msdn.com/b/timid/archive/2014/02/07/prompts.aspx ... but one thing I have often used is the snippet ($([int]((Get-History | Select-Object -Last 1).ID) + 1)) This gives me the next history ID number (i.e. the ID for...
Page 1 of 1 (1 items)