dwettstein/PSScriptInvoker ? reverse-engineered prompt

Reverse engineered prompt

Build me a Windows service that can run PowerShell scripts from simple HTTP requests, and optionally from RabbitMQ messages too.

I want to be able to point it at a folder of scripts, call a script by name or by subfolder path, pass parameters in the URL or as JSON, and get the script output back right away. If an auth token is set, it should require the matching Authorization header. Please include the basic install and uninstall flow, a simple config file for the service settings, and logging to the Windows Event Log so I can see what ran and whether it succeeded.

If it makes sense, also support HTTPS and make the RabbitMQ mode use request and response messages with headers for the endpoint and a request id. Keep it practical and easy to set up on a normal Windows machine, and look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab