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 | Sep 30, 2014 | Uncategorized
The North American PowerShell Summit 2015 will be taking place on April 20 through 22, 2015, at the Microsoft offices in Charlotte, North Carolina, USA. The PowerShell North American Summit is put on by PowerShell.org and will be a small...
by | May 22, 2014 | Uncategorized
Have you used PSEdit to open a file in a new tab in your PowerShell ISE session? PSEdit is a built-in function that runs only on PowerShell ISE. It’s simple and easy to use. Enter in a filename and *poof*, it opens in a new tab of the ISE. What a great idea!...
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...
by | Aug 4, 2013 | Uncategorized
If you’re looking to expand your knowledge of PowerShell and start working it like a pro, you should check out this book from some of the premier PowerShell trainers and gurus. Written by Don Jones and Jeff Hicks, Learn PowerShell 3 in a Month of Lunches takes...
by | Jul 19, 2013 | Uncategorized
This video features a PowerShell 3 workflow overview and tutorial from Bruce Payette. Bruce is the Principal Developer in Windows Manageability for Microsoft. This means that he is the main developer for PowerShell 3.0 and is one of the highest authorities on...
by | Mar 25, 2013 | PowerShell (Modern), Windows PowerShell (Legacy)
There are a couple of very easy ways to get a find enum values in PowerShell. Enums are often used when choosing an option as a parameter in a PowerShell command. This article shows you exactly how to get those values for any enumerated list type (called...