Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Use PowerShell to Create an Exchange 2010 Database Report

Summary: Learn how to use Windows PowerShell to create an HTML report of Exchange 2010 databases by using conditional formatting and thresholds. (image)   Hey, Scripting Guy! I need to learn how to produce reports on my Exchange 2010 databases. Is this something that I can do by using Windows PowerShell? —TH (image) Hello TH, ...

Use PowerShell to Add Commands to the Windows Explorer Command Bar

Summary: Learn how to use Windows PowerShell to add commands to the Windows Explorer command bar in Windows 7 and Windows Vista. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. Did you ever have one of those times when a seemingly simple project suddenly morphed into a monster project? It seems that when I have a bit of extra time, ...

Sort Output Before Sending to PowerShell Out-GridView

Summary: Learn how to sort data before you send it to the Windows PowerShell Out-GridView cmdlet. Microsoft Scripting Guy, Ed Wilson here. The weekend has finally arrived, following on the heels of a rather hectic week. I decided to download and install Service Pack 1 for Windows 7 and Windows Server 2008 R2. It installed on the Scripting Wife...

Speed Up Array Comparisons in Powershell with a Runtime Regex

Summary: Learn how to speed up array comparisons in Windows PowerShell by using a runtime regular expression (image)   Hey, Scripting Guy! I am interested in speeding up comparisons of arrays when I use Windows PowerShell. Can you help me? —CR (image) Hello CR, Microsoft Scripting Guy, Ed Wilson, here. We are still in our Guest ...