PowerShell How-To


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.

Getting Input into Your PowerShell Functions with Parameters

Here's a quick walkthrough of how to build function parameters in reusable snippets.

Querying MySQL Databases with PowerShell

Save some time by automatically querying up data.

Automating Software Downloads with PowerShell

PowerShell provides multiple ways to push new software to targeted systems.

Exploring the Trello API with PowerShell

Get the most out of the task management software with automation.

Connecting to WSUS with PowerShell

Automate Microsoft patches with the aid of the Windows Server Update Services.

How To Test Variables in PowerShell

Get to testing with the Get-Variable, PS drive and the -eq operator.

Creating Volume Shadow Copies in PowerShell

PowerShell can help to create automated snapshots for those times that things go wrong.

Most   Popular

Upcoming Training Events

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