Today’s tutorial is anything new, but just thought I’d share some recent experience with Microsoft’s PowerShell. I’ve been playing around with PowerShell (PS) for a little while now, but nothing too extravagant, I’m not an administrator so I don’t have hundreds of little tasks I have to do on a daily basis (unless I can write a script to help me wake up and get ready in the morning.. C:\>Set-TeethClean ? ) – Anyways, I was recently tasked with doing some rudimentary task of searching through the Windows Certificate store and finding all CAs that were signed with MD5. If MD5 rings a bell its most likely because of this.
I really didn’t want to go through the list one by one, double-clicking, then selecting the Details tab. So I decided there had to be an easy way to parse this information. My first idea was to fire up Visual Studio and write a quick c# app to do this as it has built in Certificate Store classes/functions. But this seemed too combersome but I still wanted to leverage the .NET framework for the same features. PowerShell it was then.