PowerShell Write-Host Word Wrap

Writing large blocks of text using Write-Host isn’t always pretty. Try Write-Paragraph instead...

October 28, 2020 · 3 min · Nick Spreitzer

Temporarily Prevent Windows From Sleeping

If you ever need to temporarily prevent Windows from going to sleep, you should try giving it some NoDoz...

June 21, 2019 · 5 min · Nick Spreitzer

FluentConsole: Now With Automatic Word-Boundary Line Wrapping

When writing sentences to a console window, by default, the text will wrap at the exact width of the current window. Unless your sentences happen to consistently have word boundaries at exactly the same intervals as the window width, your text will wrap right in the middle words…...

May 26, 2016 · 2 min · Nick Spreitzer

Keyboard Hooking With C# – Redux

A deep dive into my new and improved attempt at a C# keyboard hook class...

September 2, 2012 · 9 min · Nick Spreitzer

Keyboard Hooking With C#

A deep dive into my initial attempt at a C# keyboard hook class....

January 2, 2011 · 5 min · Nick Spreitzer