Finding ones self losing ones self1

File Finder

Search for any file on the endpoint

Description

This agent procedure will prompt you for a file name, and search all hard drives on the endpoint to find the file. Once found, it will write the locations in the agent procedure log, as well as in a file that will get upload to the getfile folder of the endpoint.
This procedure is only compatible with Windows endpoints.

Developer
  • Name: Douglas Sanchez
  • Company: Kaseya
  • Website: http://www.kaseya.com
  • Contact Developer
  • Summary
  • File Finder
  • 129 Downloads
  • Released on January 31st, 2018
  • Reviews
    Gravatar for Johan
    by Johan on June 4th, 2019

    Excellent script thank you. Like the way you use echo to create the ps1 instead of having to dump the ps1 from your Kaseya server

    Discussion
    Gravatar for samuel@finkeltron.com
    samuel@finkeltron.com over 1 year ago

    Where is the Agent Procedure Log?

    Gravatar for samuel@finkeltron.com
    samuel@finkeltron.com over 1 year ago

    Where is the Agent Procedure Log?

    Gravatar for samuel@finkeltron.com
    samuel@finkeltron.com about 1 year ago

    Possible to write results to a custom agent column?

    Gravatar for Craig Allen
    Craig Allen about 1 year ago

    If you create a custom field (http://help.kaseya.com/WebHelp/EN/VSA/9050000/index.asp#554.htm) you will then be able to build a Custom Agent Column in either the Audit or Agent modules. The Agent Procedure log can be found here: http://help.kaseya.com/WebHelp/EN/VSA/9050000/index.asp#354.htm

    Gravatar for Douglas Sanchez
    Douglas Sanchez about 1 year ago

    @Samuel, to write the result into a custom agent column (also called custom field) you need to use the function updateSystemInfo()

    Gravatar for samuel@finkeltron.com
    samuel@finkeltron.com about 1 year ago

    Seems like there's more to it? Where do I put this function? Procedure screenshot

    Gravatar for Douglas Sanchez
    Douglas Sanchez about 1 year ago

    You have to add some logic to check the value of the variable #filefound# so that depending on what is on the file (in this case if the file was found or not) it will update the custom field with different value. 

    Gravatar for samuel@finkeltron.com
    samuel@finkeltron.com about 1 year ago

    Sorry I have no idea where or how to do that. 

    Gravatar for Johan
    Johan about 1 month ago

    Excellent, thanks for this. Able to use this and populate columns and/or send an email with findings