PowerShell How-To


How To Use PowerShell Transcripts

Here's how to easily record every move made in PowerShell.

How To Validate XML Documents Using PowerShell and XSD

The tiniest mistake could throw your whole list off.

How To Maintain Folder Structure When Copying Files with PowerShell

Transferring files with multiple subfolders gets a bit tricky. Here's how to avoid any issues.

Matching and Using Regex Groups with PowerShell

Even though it has somewhat of a checkered reputation, being able to wield it will save you a ton of time.

How To Design a PowerShell Module

Modules help to make your code easier to move from one place to another.

Delegate SCCM's Remote Tools Without the Console

Quickly let someone else remotely take the reins with this handy tip.

Comparing Common Actions in Batch, VBscript and PowerShell

If you haven't dipped your toes in the PowerShell water yet, here's a good primer to get started.

Keeping You Honest in PowerShell with Set-StrictMode

Sometimes we need a nanny to make sure our scripts are on the up and up.

Treat Your Scripts Like Cattle

Standardization will ensure that your code works today, tomorrow and down the road.

How To Manage File Hashes in PowerShell

This will be a technical article introducing file hashes, how to generate hashes with PowerShell and, when copying files, how to use hashes to your advantage to ensure file copies were successful.

When To Reinvent the Scripting Wheel

While grabbing premade scripts to solve your current problem is a huge time saver for IT, you're missing out on quite a few things by not doing it yourself.

Writing PowerShell Functions for the Pipeline

Make sure your code is ready for the pipeline with these tips.

Exploring Reference Variables in PowerShell

Even if you've heard of reference variables, their use may still be a mystery.

When and Why To Convert a Script into a Function

And when converting, remember that reusing code will save you a ton of time.

3 Ways To Keep Active Directory Clean with PowerShell

Get rid of unused AD accounts quickly.

Most   Popular