Automation/Scripting


Viewing Your Drive Information with PowerShell

Using Windows Management Instrumentation makes it easy to pull information about the drives on your system or remote systems. Here's how.

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."

Microsoft Releases PowerShell Core 6.0

Microsoft last week announced the general availability of PowerShell Core 6.0, which is notable for being a cross-platform DevOps tool for Windows, Linux and macOS.

How To Do Math with PowerShell

PowerShell is more than just scripting and automation. Given the right functions, you can also use it to solve numerical equations -- from the simple to the complex. Here's how.

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.

Working with Database Users and Roles Using PowerShell

While we've covered how to add users to the database, let's take it one step further and designate specific roles.

Creating a SQL Server Login Using PowerShell and SMO

PowerShell helps us to turn the time-intensive process of creating new users into a quick and easy task.

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.

Introduction to SQL Server Management Objects with PowerShell

Open up new reporting options for your SQL Server with these PowerShell tips.

Encrypting Data with PowerShell Cmdlets

Here are three commands you can use to encrypt and decrypt data.

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.

Most   Popular