Splunk Search

stanza to run powershell script in exchange 2016.

saramamurthy_sp
Splunk Employee
Splunk Employee

What should be my inputs.conf stanza to run the PowerShell script in the Exchange server 2016 with windows server 2016

[script://.\bin\exchangepowershell.cmd v15 get-inboxrules_2010_2013.ps1]
source=Powershell
sourcetype=MSExchange:2016:InboxRules
interval=3600
index=msexchange
disabled=false

or

[script://.\bin\exchangepowershell.cmd v15 get-inboxrules_2010_2016.ps1]
source=Powershell
sourcetype=MSExchange:2016:InboxRules
interval=3600
index=msexchange
disabled=false

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...