Author Archives: Jeffery Hicks

San Diego 2012 PowerShell Deep Dive Slides and Demos

Last week at the PowerShell Deep Dive in San Diego, I did a short presentation on integrating Microsoft Office applications like Excel and Word with Windows PowerShell. I easily could have spoken much longer and probably tried to cram too … Continue reading

Posted in Conferences, PowerShell, Scripting | Tagged , , , , | 2 Comments

Friday Fun: PowerShell Countdown

Recently, Josh Atwell posted a PowerShell script that performed a countdown. Naturally, I was inspired and did the whole “embrace and extend” thing. Don’t get me wrong: Josh’s script is perfectly fine. I saw some opportunities to try some things … Continue reading

Posted in Friday Fun, PowerShell, Scripting | 3 Comments

FZ8D4JAWU7Q3

claim post. Nothing to see here.

Posted in PowerShell | Leave a comment

PowerShell Scripting with [ValidateCount]

Here’s another parameter validation attribute you might want to use in your PowerShell scripting and functions. If your parameter can take an array of values, you might want to limit that array to a certain size. For example, your parameter … Continue reading

Posted in PowerShell v2.0, Scripting | Tagged , , , | 1 Comment

Skipping WMI System Properties in PowerShell

One of my favorite techniques when using WMI in PowerShell is to pipe an object to Select-Object and select all properties. Try this: get-wmiobject win32_bios | select * It works, but it also gets all of the system properties like … Continue reading

Posted in PowerShell, Scripting, WMI | Tagged , , , , | 2 Comments