Alerting

Running a Powershell Script through alerts?

Sebbo
Engager

Morning all,

 

I have a Powershell 2 script that sends an email to people when my alert is triggered. I can't use an the email action as my network doesn't have internet connection. When the alert is triggered, it's not automatically running the script. The script works, as I've ran it independently from Splunk and the email has been sent. Is the format wrong, or am I missing something?

Thanks in advance!

Labels (2)
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...