How to use interactive script mode Run Kansa investigation powershell

Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use interactive script mode Run Kansa investigation powershell

L1 Bithead


does anyone know

How to add investigation powershell to the Agent script Library of XDR Action Center. That I can choose it to do incident investigation when using XDR interactive script mode



L5 Sessionator

Hi @kentwuhc 

The Agent Script library allows XDR management console users (with the right privileges) to execute Python scripts on the endpoint. It might not be a great user experience for you to perform investigations in the way you are aiming for. Usually, investigators would isolate an endpoint, perform a clone of the asset and run investigations off the clone to preserve the integrity of the asset.


You can use the script titled "execute_commands" in Agent Script library as a template to create your own script to run Powershell commands on the endpoint by fetching the powershell project off a shared drive. It won't have that level of interactivity, though.

L1 Bithead

Hi Bbarmanroy

Thank you for your reply because our Agent in different locations It can't be there to investigate every PC in different locations

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!