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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...