Automation/Scripting


How To Format PowerShell Output with Format-Table

You may not think too often about how text is displayed in your PowerShell console, but under the covers, there's quite a bit going on.

Use PowerShell To Work with a Network Adapter

If PowerShell isn't already your go-to tool for reviewing your NIC configuration, it should be.

Getting Started with Word Using PowerShell

Here's how to automate building a document in Microsoft Word. Clippy not required.

The Evolution of a PowerShell Function Parameter

Making code adaptable is a key skill for any coder. Here's a primer on how to stretch function parameters to fit a variety of situations.

Using PowerShell To Work with the DNS Client

Replace your legacy ipconfig switches with these cmdlets in the DNSClient module.

Using a Custom Enum To Get Tab-Completion on a Parameter

Sometimes using ValidateSet isn't enough -- for instance, when you have multiple functions with the same parameter that you need to perform a task on.

Performing Joins and Splits in PowerShell

Here's how to make your data more useful -- or even just more presentable -- using the Join and Split operators and the Split method.

Understanding Background Jobs in PowerShell

Synchronous code execution is fine for small scripts, but for more time-consuming scripts, consider running your code in the background as a job. Here's how.

Find Data in Excel Using PowerShell

For those times when converting Excel files to .CSV just doesn't make sense.

Working with PowerShell History

Using these three commands, PowerShell allows you to read and manipulate just about every aspect of your command history.

Organizing Your PowerShell Code Using Regions

If you want to group parts of your code for debugging purposes or simple readability, the PowerShell ISE has the answer.

Building a Wait-Action Function in PowerShell

The next time you need to wait on a step in your script, don't just add a delay. Instead, use a Wait-Action function to wait just the right amount of time.

Talking Through PowerShell

Boe shows you how to write scripts using the built-in voices on your computer. Just make sure you've got your headphones on.

How To Set an IP Address with PowerShell

Changing network adapter properties can be a chore the more machines you have, and the more numbers you have to punch in. Script out the process, instead.

Regular Expressions I Use with PowerShell

From validating IP addresses to phone numbers, these are some of the handiest expressions in Boe's PowerShell toolbox. What are yours?

SharePoint Watch

Sign up for our newsletter.

I agree to this site's Privacy Policy.