Prof. Powershell


How Do You Measure Up?

Measure-Object cmdlet has some interesting properties, but it's up to us to figure out how to use them creatively.

Failure is Not an Option with JobStateInfo Property

The JobStateInfo property can expose the failure of background processes.

Invoke-Sesame

Use the Invoke-Item cmdlet to open files and their application types -- much like Windows does when double-clicking a file.

Hidden Treasure of the Example Sample

Get direct access to the Example property and you'll open new doors to knowledge.

Switch Way Did They Go?

Pair up Regex with the Switch construct to get what you need, in plain English.

Express Yourself with the Invoke-Expression Cmdlet

PowerShell Functions can save you time. Scriptblocks save you even more time.



Scriptblock Surprises

PowerShell Functions can save you time. Scriptblocks save you even more time.

Process Possibilities

The PowerShell team is sneaky. They've given you some extra properties in objects that you can use to your advantage.

A Defining Moment

The beauty of PowerShell is simplifying the oft-repeated task. Here's an example where you can create functions on the fly for common troubleshooting.

Wide Load

See more and get more with the Format-Wide cmdlet.

Module Testing

Make a statement for checking out modules.

Parameter Peeking

Tab completion and Get-Command offer two ways to discover parameters for cmdlets without resorting to reading the cmdlet help.

Value Proposition

If any colleagues aren't convinced of the PowerShell power, this week's trick might convert 'em.

Like, Totally Modular, Dude!

Active Directory cmdlets come as modules, not PS snapins. Managing AD is easy with this new PowerShell goodie.

Group Hash

Group-Object, we hardly knew ye. One more tip before we close the book on you.