PowerShell How-To


Filtering Command Output in PowerShell

In which Adam demonstrates the truth in the old PowerShell adage: "The more you can limit the number of objects returned to the pipeline, the faster you code will run."

PowerShell Pester Test Design: Best Practices

The Pester PowerShell module allows for some flexibility in how tests are written, but as Adam notes, there are still a few key points to consider.

How To Reset an Azure VM Admin Password with PowerShell

Using Azure's "virtual machine agent," you can reset the local administrator password without even hitting the Windows OS itself. Here's how.

How To Process Multiple CSV Files at Once in PowerShell

Since CSVs are so easy to work with, it doesn't take long to organize and process large sets of data.

Using Parameters in your Pester Test Scripts

Save time for accounting for changes in your scripts with this handy tip.

Using a Stopwatch In PowerShell

Monitoring the speed at which code is executed will give a window into avenues to improve it for efficiency.

How To Create Arrays for Performance in PowerShell

Is your script taking too long to execute? Speed it up with this handy tip.

How To Create Virtual Directories in Azure Web Apps with PowerShell

Until Microsoft adds a native command that easily connects virtual directories to Azure Web apps, we're going to have to do it ourselves.

Creating an SSIS Catalog with PowerShell

Here's how to deploy SQL Servers in an organization with custom business intelligence.

Understanding Parallel Runspaces in PowerShell

Allowing multiple segments of a code to run concurrently will increase the overall script's efficiency.

How To Create Progress Bars in PowerShell

When automating a ton of tasks, creating a visual cue on the activate is helpful in knowing that things are running smoothly.

Leverage BITS for File Transfers with PowerShell

Background Intelligent Transfer Service is a useful tool for transferring large files or transferring to a system with connectivity issues.

How To Save and Read Sensitive Data with PowerShell

If you deal with private data, automate how you access it with this handy tip.

Working with the LocalAccounts Cmdlets in PowerShell v5

A feature that had been in high demand, native local account management, is finally in PowerShell.

Creating CSV Files with PowerShell

The process is similar to creating any plain text file in PowerShell -- but with a few twists.

SharePoint Watch

Sign up for our newsletter.

I agree to this site's Privacy Policy.