Looking for advice in creating event-driven PowerShell Scripts

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/PowerShell

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • SonarQube - Static code analysis for 29 languages.
  • Zigi - Workflow assistant built for devs & their teams
  • PoshBot

    Powershell-based bot framework

    5) You might want to have some reporting whenever your service triggers. For that you can use Slack or MS Teams, there's a PowerShell module that helps here, it's called PoshBot (you could also trigger your API through Slack). This is referred to as ChatOps.

  • Playwright

    Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

    3) You can may also add a testing stage in your deployment pipeline. So for example if you re-deploy your stack to update the PowerShell version, then you may want to check if the new PS version works with your code. Hence the testing stage in your pipeline, the pester module works wonders here. This is usually referred as Integration Testing. (note if you want to test your UI then Playwright is a nice framework)

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • chaostoolkit

    Chaos Engineering Toolkit & Orchestration for Developers

    And then once your setup is mature enough. As-in highly available on each tier, like front, back and data. And have monitoring & alerting in place. You can then even start playing with Chaos Engineering, to test your service against random outages. You can either do your own PS scripts for that or maybe use a tool (AWS Fault Injection Simulator, Chaos Toolkit, etc)

  • ld-find-code-refs

    Build tool for automatically sending feature flag code references to LaunchDarkly

    4) You can go as far as to use a feature flag service. So assume you want to introduce a new feature in your logic. You may use Launch Darkly to quickly switch between your different versions.

  • Hugo

    The world’s fastest framework for building websites.

    8) Most likely you'll want some sort of documentation for your service. Especially if you're going to have other people use it. You can document your API with OpenAPI (formerly known as Swagger). And you can set up a wiki page with Hugo and some documentation plugin (ex. GoDocs or Learn)

  • Eventful

    Easy Eventful Asynchronous Scripting with PowerShell (by StartAutomating)

    Now that you understand some of the basics of eventing in PowerShell, it's time to make it easy. I wrote a module called Eventful a while back to make this subsystem easier to deal with.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts