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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...