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!

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...