Getting Data In

Running Splunk in PowerShell on Windows

paries
Explorer

Hello, I am a totally newbie with Splunk
I have set up a universal forwarder. It seems to be working ok and sending stuff to the indexer

my question is running the Splunk via CLI on PowerShell.
i have tried both via PowerShell cmdshell

So, I cd to the bin dir

cd PS C:\Program Files\SplunkUniversalForwarder\bin
./splunk status
./splunk help

When i hit enter, another window quickly pops up and goes away

Thanks for any help

0 Karma

cpetterborg
SplunkTrust
SplunkTrust

Have you tried running in a "Powershell as Administrator" window?

paries
Explorer

that was the answer!
thanks

0 Karma

cpetterborg
SplunkTrust
SplunkTrust

Please accept the answer and it will be marked as answered properly for future visitors to this question.

Thanks!

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...