Monthly Archives: August 2012

Converting Bytes To The Largest Type Using P/Invoke

A good while back I wrote an article (one of my first) that showed a way to convert the raw bytes of a file or anything for that matter into the upper most value. For instance, if you had 100240 … Continue reading

Posted in powershell, scripts | Tagged , , , , | 1 Comment

PowerShell Deep Dive Book

Now that we have been given the go ahead to announce it, I can now say that I am going to be contributing to a “PowerShell Deep Dive” book with a number of PowerShell superstars! I am very excited about … Continue reading

Posted in Deep Dive, News, powershell | Tagged , , | 3 Comments

Reversing a String Using PowerShell

So how many times do you sit at your desk thinking “How can I easily reverse this string output?”. Probably not at all. But in the case where I needed to do this while working on a future article, I … Continue reading

Posted in powershell | Tagged , , , | 9 Comments

Locating Mount Points Using PowerShell

Sometimes when you are building a file server (or some other server), you come to realize that you have more drive or partitions than drive letters that are available. In this situation, what do you do? If you answered ‘create … Continue reading

Posted in powershell | Tagged , , | 13 Comments

Make Your PowerShell Errors Less Harsh By Changing Their Color

Ok, so errors are never actually pleasing regardless of what color they are. But maybe you’ve been working with PowerShell for a while and or are just dipping your toes in the water and for one reason or another, you … Continue reading

Posted in powershell | Tagged , , , | 4 Comments