Skip to content

The PowerShell Scripting and Toolmaking Book #4

@DannyDore

Description

@DannyDore

https://leanpub.com/powershell-scripting-toolmaking

Table of Contents

  • Foreword
  • Introduction
  • A Note on Code Listings
  • Lab Setup
  • Functions, the Right Way
  • PowerShell Tool Design
  • Start with a Command
  • Build a Basic Function and Module
  • Adding CmdletBinding and Parameterizing
  • Emitting Objects as Output
  • An Interlude: Changing Your Approach
  • Using Verbose, Warning, and Informational Output
  • Comment-Based Help
  • Handling Errors
  • Basic Debugging
  • Verify Yourself
  • Going Deeper with Parameters
  • Advanced Function Tips and Tricks
  • Dynamic Parameters
  • Writing Full Help
  • Extending Output Types
  • Advanced Debugging
  • Command Tracing
  • Analyzing Your Script
  • Controlling Your Source
  • Converting a Function to a Class
  • Unit Testing Your Code
  • Publishing Your Tools
  • Basic Controllers: Automation Scripts and Menus
  • Graphical Controllers in WPF
  • Terminal User Interface (TUI) Scripting
  • Proxy Functions
  • Working with SQL Server Data
  • Working with XML Data
  • Working with JSON Data
  • Working With CSV Data
  • Tools for Toolmaking
  • Measuring Tool Performance
  • Globalizing Your Tools
  • Using "Raw" .NET Framework
  • Scripting with Collections
  • Scripting at Scale
  • Scripting with Secrets
  • Scaffolding a Project with Plaster
  • Adding Auto-Completion
  • Adding Custom Formatting
  • Adding Logging
  • Toolmaking Tips and Tricks
  • Why Pester Matters
  • Core Pester Concepts
  • Writing Testable Code
  • What to Test
  • Describe Blocks
  • Context Blocks
  • It Blocks
  • Should and Assertions
  • Mocks
  • Pester's TESTDRIVE
  • Pester for Infrastructure Validation
  • Measuring Code Coverage
  • Test-Driven Development with Pester
  • PowerShell 7 Scripting Features
  • Cross Platform Scripting
  • Toolmaking with Crescendo
  • Afterword
  • Just Enough Administration: A Primer
  • PowerShell in ASP.NET: A Primer
  • PowerShell Workflows: A Primer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions