PowerShell How-To


What Is Dot-Sourcing in PowerShell?

Dot-sourcing allows you keep everything modular when adding additional scripts.

Working with Arrays in PowerShell

Learning how an array stores an object will help in using them in your code.

Using PowerShell Test Case Code with Pester

When testing multiple scenarios to a single test, try this option.

How To Submit Your First Module to the PowerShell Gallery

Uploading your modules to the gallery will help with distribution headaches and allow for valuable feedback to come your way.

PowerShell Development with Visual Studio Code

You can be up and running with Microsoft's VS Code with the installation of a few PowerShell-specific extensions.

Parsing Command-Line Output with PowerShell

Here's a few ways to control legacy command-line utilities in PowerShell.

How To Run Code Before and After a Pester Test

Instead of injecting your own code, Pester makes it easy to run setup and teardown tasks when creating new PowerShell scripts.

How To Force PowerShell to Wait for Scheduled Tasks

Learning this handy technique will also allow you to add timers to different types of tasks.

Exploring Dot-Sourcing in PowerShell

Dot-sourcing allows for you to keep your functions modular.

Using PowerShell's Calculated Properties

This guide will walk you through changing property names and values for the Select-Object cmdlet.

How To Build a PowerShell Active Directory Sync Tool

If employees have unique identifiers, getting a tool up and running to sink with AD is a cinch.

Working with Recursive Functions in PowerShell

Recursive functions are designed perfectly to manage what could be a hierarchical mess in Active Directory.

How To Create a Simple Pester Test Report in PowerShell

While Pester doesn't generate it's own reports, it does provide data that can be easily formatted.

How To Use the PowerShell Operational Validation Framework

The tool simplifies and keeps you organized when testing.

Best Practices for Designing PowerShell Functions

While not everyone will code the same, here are some of my go-to tips for creating functions.

SharePoint Watch

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.