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: Nicely Wrapping a Line of text to STDOUT

    In case you didn't know, $host gives data about the scripting host, including the window containing the script's output. This in turn gives us the width of the window: $Host.UI.RawUI.WindowSize.Width From there, we can function Break-Line { # synopsis:: # [-help] # # Description...
Page 1 of 1 (1 items)