Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230302

Re: Can I run Powershell commands directly out of the Files/Actions ' Run' command?

$
0
0

Did you ever get an answer to this? I'm running into the same issue. I'm trying to run this from Files/Actions ' Run' command:

msiexec.exe /i C:\Windows\Temp\splunk\splunkforwarder-8.0.6-152fb4b2bb96-x64-release.msi RECEIVING_INDEXER="blahblahblah" WINEVENTLOG_SEC_ENABLE=1 WINEVENTLOG_SYS_ENABLE=1 MONITOR_PATH="C:\Program Files\osquery\logs\osqueryd.results.log" MONITOR_PATH="C:\ProgramData\Airwatch\UnifiedAgent\logs\" AGREETOLICENSE=Yes /quiet

 

and end up with this:

Screen Shot 2020-10-19 at 4.45.59 PM.png

I had been running a batch file to run the ps1 file from Files/Actions ' Run' command but for some reason I started getting this error:

splunkmsiexec.PNG

so I tried running it from cmd line.


Viewing all articles
Browse latest Browse all 230302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>