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

Deep Dive

For those who aren’t afraid to swim with the sharks of complex code and explore the uncharted depths of PowerShell.

  • Oct 19

    PowerShell Classes: From Simple Scripts to Maintainable Automation (Part 4) – Building Reusable Automation Frameworks

    Classes are only the beginning. Learn how to organise domain objects, service classes, configuration, and reporting into reusable automation frameworks that scale beyond individual scripts without becoming overly complicated or difficult to maintain.

  • 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.

  • Nov 17

    Enums in PowerShell: Strongly Typed Values for Robust Scripts

    Enums in PowerShell provide a clean way to work with strongly typed values, improving readability, maintainability, and reducing errors. By grouping related constants under a single type, you avoid magic numbers and hardcoded strings, gain autocompletion, and enable built-in validation in functions. Whether you use native syntax, Add-Type with C#, or classes with static properties, enums make your scripts more robust and easier to manage.

  • Nov 3

    PowerShell: Hashtable vs PSCustomObject Explained

    Hashtables and PSCustomObjects may look similar in PowerShell, but they serve very different purposes. This post explores their syntax, performance, and practical use cases, helping you choose the right structure for dynamic data handling or clean output formatting.

  • Nov 4

    Mastering Control Flow in PowerShell: Break, Return, Continue, and Exit

    In this blog post, we’ll delve into the nuances of four fundamental PowerShell commands: **Break, Return, Continue, and Exit**. Each of these commands serves a unique purpose in controlling the execution flow of your scripts, whether it’s exiting loops, returning values, or terminating scripts.

Tulips, Windmills & PowerShell: Dutch Scripting Guys

Privacy Policy