PowerShell How-To


How To Implement Dynamic Parameters in Your PowerShell Functions

Choosing the correct input for your functions will save time and energy in the long run.

How To Create PowerShell DSC Class-Based Resources

The latest version of PowerShell allows the resources to be built without crating schema MOF files.

How To Use PowerShell To Write to the Event Log

Keeping close tabs on your script will help to identify potential future errors.

Go Back To School with PowerShell Classes

Classes extends the usefulness of PowerShell for both admins and devs.

Understanding the Try/Catch Block in PowerShell

Try and catch blocks are designed to catch errors in your code, no matter the situation.

Creating Your First Repository on GitHub

GitHub provides you an easy way to store and test your useful code.

How To Upload a Module to the PowerShell Gallery

Got a module that you're especially proud of? Share it with others.

All Errors in PowerShell Are Not Created Equal

Here's how to identify and fix terminating and non-terminating issues that might pop up.

Writing PowerShell Code for Performance

The cmdlet Measure-Command will test and evaluate your code to make sure it's as optimal as can be.

Getting Started with PowerShell Script Analyzer

Microsoft's powerful tool will make sure your scripts meet best practices.

How To Display GUI Message Boxes in PowerShell

Create custom prompt boxes in minutes with a little PowerShell and .NET knowledge.

How To Test PowerShell Modules with Pester

While we covered testing a single script in Pester, here's how to take that knowledge to the next level.

Getting Started Testing PowerShell Scripts with Pester

The unit testing framework should always be used to validate your scripts.

Connecting to an Azure SQL Database with PowerShell

Move a whole database into the cloud quickly by following this walkthrough.

How To Compare the Contents of Two Folders with PowerShell

Make sure two documents are both exact and in sync with this process.

SharePoint Watch

Sign up for our newsletter.

I agree to this site's Privacy Policy.