About this Guide

After years of scripting and reviewing others' scripts, I have developed a unique style and set of standards. Recently, I realized that many of my conventions align with formally named and documented practices. This guide, inspired by the PowerShell Practice and Style guide, summarizes key points from that resource, adds my insights, and provides a customized standard for my peers and AI to reference when scripting. Initially, I considered contributing to their repository, but given the extent of my changes and the fact that the original was last updated over a year ago, I decided to create my own version. The authors of the original guide encourage widespread redistribution of their content, so approximately 90% of this guide is derived from their work.

- Ryan Whitlock

If you find an issue, please submit it here.

Credits

The authors of the PowerShell Practice and Style guide deserve credit:

The Community Book of PowerShell Practices was originally compiled and edited by Don Jones and Matt Penny with input from the Windows PowerShell community on PowerShell.org.

Portions copyright (c) Don Jones, Matt Penny, 2014-2015

The PowerShell Style Guide was originally created by Carlos Perez, for his students, and all the good parts were written by him.

Portions copyright (c) Carlos Perez, 2015

Any mistakes in either of these documents are there because Joel Bennett got involved. Please submit issues and help us correct them.

Portions copyright (c) Joel Bennett, 2015

Last updated