Automation/Scripting


Cool ISE

At the heart of this awesome no-frills editor is the $psise object, handy for configuring the ISE how you want it.

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.

  • Code Download

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

Failure is Not an Option with JobStateInfo Property

The JobStateInfo property can expose the failure of background processes.

  • Code Download

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

UPDATE: Opalis Now Runs on Windows Server 2008

Microsoft on Monday announced that its Opalis 6.3 software can now run on Windows Server 2008 and Windows Server 2008 R2, in addition to Windows Server 2003.

Invoke-Sesame

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

  • Code Download

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

Hidden Treasure of the Example Sample

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

  • Code Download

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

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

Most   Popular