Initialize a Byte Array in PowerShell

Sometimes you’ll need to initialize a new buffer as an array of bytes. For example, if you want to generate random data using the NextBytes() method on the System.Random class,  you need to pass in a byte array buffer for the method to write to. Creating a byte array in …

Continue reading

Pause Windows Task Manager

I just accidentally came across an interesting trick that I think is nifty. In Windows 7 (and possibly previous versions of Windows), you can press and hold the Control key down, and pause task manager from refreshing.

Continue reading