Splunk Search

Lookup and powershell command

jip31
Motivator

hi

i want to use the powershell code below in order to know if the computer ping or not
PS C:> Test-Connection -ComputerName
in the lookup folder, i have a CSV file with the name of the computer i want to check
my question is how to adapt the powershell script in order to read the computer name in the CSV file and to check the ping?
thanks a lot
regards

Tags (1)
0 Karma

xpac
SplunkTrust
SplunkTrust

So, you want to run this on a certain host, that is not a Splunk instance, or only has a UF?
You wan't a script that regularly pings some IPs from a CSV file?

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...