Prof. Powershell


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.

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.

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.

Out, Out Darn Variable

PowerShell cmdlets come well-stocked with common parameters. Let's look at what you can get out of the -OutVariable parameter.

Even Better Together

More grouping tricks, this time with the -groupby parameter of the Format-List and Format-Table cmdlets.

All Together Now

Quickly check out all your object collections with the Group-Object cmdlet.

Substitution Teacher

Using place holder variables in scripts to display complex text strings, is easier than you might think.

Easy as PI

Math class is in session with these Powershell tricks.

Environmentally Friendly

Powershell has its own variables, but you can also tap Windows' environment variables within your scripts

Built-In Variables

PowerShell has several built-in variables that you might find helpful.

Most   Popular

Upcoming Training Events

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