About 9,500 results
Open links in new tab
  1. Software Design Patterns in Powershell: Strategy Pattern

    Apr 11, 2018 · I’ve been exploring how these patterns work in the Powershell world. The first one I really got my head around was Strategy. The Strategy Pattern. The Strategy pattern is a behavioral software design pattern. That is, it’s a pattern you can use to select an algorithm at runtime based on the context.

  2. Strongly Encouraged Development Guidelines - PowerShell

    Apr 11, 2024 · The Windows PowerShell path is the mechanism for normalizing access to namespaces. When you assign a Windows PowerShell path to a parameter in the cmdlet, the user can define a custom "drive" that acts as a shortcut to a specific path.

  3. Powershell: Building a Module, one microstep at a time

    May 27, 2017 · We often learn how to build a module without really understanding why they are built that way. In this post, we will turn a common script scenario into a full module one step at a time. We will take several microsteps to show all the subtle details of why common modules are built the way they are.

  4. Powershell v5 Classes & Concepts - GitHub Pages

    The following article outlines the basic syntax of PowerShell classes while subsequently introducing intermediate and advanced design pattern concepts.

  5. Design patterns implemented with PowerShell - GitHub

    Design patterns implemented with PowerShell. In software engineering, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly into source or machine code.

  6. PowerShell Script Module Design: Building Tools to Automate …

    Nov 1, 2018 · As I previously mentioned a little over a month ago in my blog article PowerShell Script Module Design Philosophy, I'm transitioning my module build process to a non-monolithic design in development and a monolithic design for production to …

  7. Windows PowerShell Best Practices and Patterns - Pluralsight

    Oct 12, 2024 · Learn community-created best practices and patterns for using and programming in Windows PowerShell. Windows PowerShell MVP Don Jones helps you take your Windows PowerShell skills to a new, more professional level through …

  8. PowerShell Script Module Design Philosophy - mikefrobbins.com

    Sep 21, 2018 · When developing a PowerShell script module, I'll use the non-monolithic design, placing functions in separate PS1 files that are dot-sourced from the PSM1 script module file for better collaboration and fewer merge conflicts.

  9. Design Patterns in Powershell: the Adapter Pattern : r/PowerShell - Reddit

    Apr 18, 2018 · You're seeing the interplay of a static and dynamic approach. Also, this is how the Extended Type System works at the core of PowerShell. For example, adding a Count property to .NET arrays that sport only a Length property.

  10. Writing Maintainable PowerShell. Applying popular patterns to

    Jun 16, 2019 · Modules. Modules are a way of organizing code. Modules are imported once into your session (unless you use -Force), so you can avoid execution time lost to redeclaring code. Modules also allow you to store state in module-scoped variables.

  11. Some results have been removed
Refresh