Getting this error via Power Shell for the Splunk Universall installation
Error below
The term 'C:\Program Files\SplunkUniversalForwarder\bin\splunk' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
working.ps1:17 char:3
Here is how i defined my variables
$SplunkInstallationDir = "C:\Program Files\SplunkUniversalForwarder"
& "$SplunkInstallationDir\bin\splunk" start --accept-license --answer-yes --no-prompt
It works if i run manually only.
Kindly assist
... View more