Articles

PowerShell articles, tutorials, and guides from community experts.

Don Jones
PowerShell for Developers

High-Level: Designing Your PowerShell Command Set

So you’ve decided to write a bunch of commands to help automate the administration of ____. Awesome! Let’s try and make sure you get off on the right path, with this high-level overview of command design. Start with an inventory You’ll need to start by deciding _what commands to …

Don Jones
Announcements

Help Me Test SSL on PowerShell.org

I’d appreciate your help in testing HTTPS/SSL here on PowerShell.org. Right now, it’s “voluntary,” meaning you have to explicitly ask for https://powershell.org. If you have any problems, please note them in a comment on this article. Some notes and known problems: Most pages …

msorens
PowerShell for Admins

Complete Guide to PowerShell Punctuation

Quick as you can, can you explain what each of these different parentheses-, brace-, and bracket-laden expressions does? ${save-items} ${C:tmp.txt} $($x=1;$y=2;$x;$y) (1,2,3 -join '*') (8 + 4)/2 $hashTable.ContainsKey($x) @(1) @{abc='hello'} {param($color="red"); "color=$color"} …

Matthew Hodgkins
DevOps

5 Tips for Writing DSC Resources in PowerShell 5

PowerShell 5 brought class based DSC Resources, which majorly simplifies the process of writing custom DSC resources. During my time working on some custom resources, I developed some tips a long the way which should save you some time and pain during your DSC journey. The tips cover: Structuring …

Don Jones
PowerShell for Admins

My DevOps (DSC) Camp Detailed Agenda

If you’re deep into DSC and delving into DevOps, then my summer “Camp” event is probably meant for you - and now there’s a detailed agenda, overall agenda, and full event brochure. This is a really limited event - under 20, including product team participants, and we’re …

Richard Siddaway
Announcements

Request for Topics

Putting on an event like the PowerShell and DevOps Global Summit involves a lot of planning. We started the planning process for the 2017 Summit BEFORE the 2016 Summit started! We have to work so far in advance that we’re taking guesses at the topics that will be of high interest next April – …

pscookiemonster
DevOps

Slack and PowerShell

Having a platform that enables ChatOps can be a game changer. You can quickly see changes, alerts, build status, discussions, emergency chats, and more, all in a single, searchable interface. If you can sift through the gifs. Bots are a hot topic these days, and and it’s well worth checking …

msorens
PowerShell for Admins

Practical PowerShell Unit-Testing

By the time you are using PowerShell to automate an increasing amount of your system administration, database maintenance, or application-lifecycle work, you will likely come to the realization that PowerShell is indeed a first-class programming language and, as such, you need to treat it as such. …

Tim Curwick
Tips and Tricks

Getting complex – More line breaks in Powershell

This is a follow up to Jacob Moran’s article Keeping it simple - Line breaks in PowerShell. I am strongly in the pro backtick camp, but I won’t get into that debate here. Instead, I’ll cover more of the common ground between the two camps. In addition to after a pipe, there are …