You should be using PowerShell classes

Christopher Kuech
Apr 14 · 1 min read

This article has since been broken down and expanded for clarity into two separate articles, one for beginner PowerShell programmers, and one for advanced PowerShell programmers.

Beginners

Learn how to avoid common pitfalls of PowerShell by keeping your code in static classes: https://medium.com/@cjkuech/new-to-powershell-use-classes-ab7b1e6f72ec

Advanced

Elevate your functional PowerShell code using classes without sacrificing your functional programming flow: https://medium.com/@cjkuech/functional-powershell-with-classes-820c8e9acd8f

Christopher Kuech

Written by

DevOps, SRE, Automation, PowerShell @Microsoft

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade