Automation/Scripting


Stringing Along

Use a PowerShell object's methods to do many of the same tasks for which you'd write VBscript code in long form.

Get-Unique -- Same But Different

I still prefer the Select-Object cmdlet, but Get-Unique has a way of weeding out the dupes that's, well, different.

Uniqueness Counts

PowerShell's Select-Object command has a -unique switch that lest you sort through the riffraff.

Command Performance

The Get-Command cmdlet reveals all that you need to know about PowerShell.

Reading Assignment

My secret for learning Powershell? Check out these blogs.

Just DO It!

Lesson in Logic #3: The secret to getting your script block to execute at least one time is the DO loop.

WHILE You Were Away...

Lesson in Logic #2: The WHILE statement keeps things rolling in your PowerShell scripts.

The 2008 Readers' Choice Awards: Introducing Redmond's Triple Crown

To recognize the dynasties in our annual Readers' Choice competition, <i>Redmond</i> is introducing the "Triple Crown," a new award for products that have won (at least) three Readers' Choice honors in a row.

Lessons in Logic

Lesson 1: Using an IF construct in a PowerShell script.

Do You Read Me?

Even sans GUI, Powershell can be made to work interactively. The trick is the Read-Host cmdlet.

PowerShell to XML

That nifty trick I showed you last time that exports data to CSV? This time, get more with an export to XML.

PowerShell to CSV

We all love the CSV format, so Powershell has a cmdlet that supports it.

To Err[or] is Human

And to use the -ErrorVariable cmdlet to keep track of them is divine.

Better GPO Backups

Use your downtime productively and check that your GPO backups are up to snuff.

Sharpen Your Pencils! A Powershell Pop Quiz

Prof. Powershell has been giving you the answers; now, a quiz to see how much attention you've been paying.

Most   Popular