All Apps and Add-ons

In the Splunk Add-on for Microsoft PowerShell, PowerShell script failing at destinations?

vr2312
Contributor

We moved the DS from a Windows Box to a Unix box and since then, the Powershell scripts have been failing at the Windows Destinations.

The Destination Host is running on Windows 2008 R2 hence we are using Powershell 2.

The following is the error code that we are receiving :

Error = Unable to initialize modular input "powershell2" defined inside the app "SA-ModularInput-Powershell";Introspecting Scheme=powersgell2:Unable to run "D:UniversalForwarder\etc\apps\SA-ModularInput-Powershell\windows_x86_63\bin\powershell2.exe --scheme"; exited with Code -1

The script is working fine as we have not made any changes to it after moving from a Windows Box

0 Karma
Get Updates on the Splunk Community!

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 ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...