Skip to content
  • Home
    • Classes
    • Fundamentals
    • Profiles
    • Powershell
    • Fundamentals
    • Beginner
    • Intermediate
    • Advanced
    • Deep Dive
    • PowerShell
    • Quick Learnings
    • Troubleshooting
  • Archive
    • Jos
    • Casper

Classes

Remember when your scripts fit on a single screen and life was simple? Neither do we. In this series, we’ll explore PowerShell classes and object-oriented programming, turning chaotic collections of variables into well-behaved objects. It’s basically parenting for your code.

  • Oct 12

    PowerShell Classes: From Simple Scripts to Maintainable Automation (Part 3) – Inheritance and Reuse

    Explore how inheritance can reduce duplication and improve code reuse, while also learning why deep class hierarchies often become a liability. Understand when to use inheritance, when to prefer composition, and how to keep your object model simple and practical.

  • Oct 5

    PowerShell Classes: From Simple Scripts to Maintainable Automation (Part 2) – Building Your First Real-World Class

    Refactor a traditional server health-check script into a practical PowerShell class. Discover constructors, methods, encapsulation, and object behaviour through a realistic example that demonstrates how classes can turn sprawling scripts into maintainable automation solutions.

  • Sep 28

    PowerShell Classes: From Simple Scripts to Maintainable Automation (Part 1) – Why Should PowerShell Users Care About Classes?

    PowerShell classes are not about making scripts look like C#. They’re about reducing complexity as automation grows. Learn when classes add real value, how they differ from PSCustomObject, and why long-lived automation projects often benefit from a more structured approach.

Tulips, Windmills & PowerShell: Dutch Scripting Guys

Privacy Policy