We are having Sharepoint lists where users would update their required services.
Based on the service type we will take action.
For ex: Our Sharepoint site will have actions like "build" "Copy" "Sync in Appstore".
For each action there is a powershell script written.
If a request is raised for build, powershell script should be triggered.
How to achieve it using powershell?
Take a look at SharePoint event receivers. Here's some example code written in PowerShell:
23JUN22 update - web archive with example code: https://web.archive.org/web/20141113023454/http://sharepintblog.com/2011/06/04/adding-event-receivers-with-powershell/ replacement for original link http://sharepintblog.com/2011/06/04/adding-event-receivers-with-powershell/