This is the Framework for Remote Execution using Powershell and SQL Server. Or in short: FREPS
It is a data-driven solution for remotely controlling machines using Powershell.
Here's how this works:
- You take your Powershell script, and shove its contents into a table at this central SQL Server instance.
- You install one special Powershell script at each of the remote machines. It is a very lean script. All it does is connect to the central SQL Server instance and basically ask: What do I need to execute now? And whatever it is - execute it.
- Set up a Scheduled Task to run this special script periodically on each of the machines.
- You only need to set this up once on each of the remote machines and then you never need to manually touch them ever again.
- Well, that's it, actually. It's super simple and elegant, and yet - extremely powerful!
This repository is still unfinished.
Watch this repository to be notified about updates!