The Community Book of Powershell Practices Master by Powershell.org - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

1. The Community Book of PowerShell Practices

During the 2013 Scripting Games, it became apparent that a great many folks in the PowerShell community have vastly different ideas about what’s “right and wrong” in the world of PowerShell scripting. Some folks down-scored techniques that others praised, and vice-versa.

After the Games, PowerShell.org ran a series of “Great Debate” blog posts, outlining some of the more controversial issues and asking for community input. The catch is the input had to not only state what the person thought was best, but very specifically why they thought that.

Those discussions got people thinking, and provided the basis for a “Community Book of PowerShell Practices.” Over time, however, some of those practices started to show their age, and the fact that they’d come from a discussion involving a specific audience - systems administrators participating in a scripting competition. As the PowerShell community began to grow and become more engaged, a broader discussion ensued. Automated script analyzers joined the mix, offering the ability to more formally codify certain practices, especially with regard to style. And, an audience involving more than just systems administrators began to take an interest.

As a result, the “Community Book of PowerShell Practices” has been discontinued, in favor of the “PowerShell Practice and Style Guide,” available as an open-source Markdown project on GitHub. We encourage you to visit that project, review what it offers, and make your own contributions to the continuing evolution of PowerShell Practices.