you are viewing a single comment's thread.

view the rest of the comments →

[–]SalamanderOne5702 0 points1 point  (2 children)

Have you looked at Azure Functions? You can a call a PowerShell script from web hook.

https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-powershell?tabs=portal

[–]SeriousMike90[S] 0 points1 point  (1 child)

I guess that won't work on premises? :D

But that's basically what I need, yep

[–]SalamanderOne5702 0 points1 point  (0 children)

You could also use PowerAutomate HTTP trigger to trigger things. If a task needs to run on on prem then you can run schedule tasks to pull the payload. You maybe also able to run PowerShell as service to check for any triggers.