PowerShell


Switch Way Did They Go?

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

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Express Yourself with the Invoke-Expression Cmdlet

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

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Scriptblock Surprises

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

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Process Possibilities

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

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

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.

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Wide Load

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

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Module Testing

Make a statement for checking out modules.

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Parameter Peeking

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

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Value Proposition

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

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Like, Totally Modular, Dude!

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

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Group Hash

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

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

More Group Play with Group-Object

Nifty trick that shows you by name what processes you'd typically have to guess at when calling up the ParentProcessID property.

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Group Play with Group-Object

Gather and filter until you get the info you need. It's what the Group-Object cmdlet is all about.

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Return of PSCX

Extensions built by the PowerShell community, for the community, has gone much improvement. Here's a few of my favorite extensions.

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Typing Lesson: Taking PowerShell Farther with Object Types

If there's such thing as a secret sauce to PowerShell, the PowerShell team has added it to the types.ps1xml file.

  • Code Download

    File Type: .x-zip-compressed File Size: 920 Bytes

Most   Popular

Upcoming Training Events

0 AM
Live! 360 Orlando
November 17-22, 2024
TechMentor @ Microsoft HQ
August 11-15, 2025