by mtsimmons | May 28, 2015 | PowerShell (Modern), Windows PowerShell (Legacy)
I’ve been rereading the Windows PowerShell Cookbook and I came across a variable I hadn’t noticed before… It turns out to be related to the -match comparison operator. -Match performs a regular expression comparison. A simple way of thinking...
by mtsimmons | May 25, 2015 | books
The Windows PowerShell Cookbook by Lee Holmes is an incredible reference. It’s filled with useful scripts, and they are explained so that you don’t just get a cookie cutter script resource but you learn why the scripts work and how they can be applied to...
by mtsimmons | Mar 20, 2015 | Windows PowerShell (Legacy)
Q. How can I see what certificates are installed on a Windows computer with PowerShell? A. Using PowerShell to view certificates is easy. PowerShell has a provider that exposes the certificates store which is part of the pki and security modules,...
by mtsimmons | Jan 24, 2015 | PowerShell (Modern)
I was going nuts trying to sort an array into a random order. I was hoping for something in PowerShell that would be along the lines of Shuffle() in PHP or Ruby. In fact, after looking at it I was a little surprised at all of the things that an array can’t do in...
by mtsimmons | Aug 5, 2013 | Uncategorized
Microsoft Virtual Academy has a course on PowerShell 3 that you just can’t miss. This is part one of a series, so don’t fall behind. The first course is “Getting Started with PowerShell 3.0 Jump Start” and it’s available now. Getting...