Search for a text in files in remote computers

Home Forums Scripting General Scripting Search for a text in files in remote computers

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    Retaliator
    Member
    #154870

    Hi Guys,

    I have a script somebody wrote in Powershell which works fine for searching for specific files, example all files in c:log and named bas*.* in drive c:.

    Now, the second thing i want to do is search for specific text inside a set of files,
    example find me all computers which has files contains BAS text inside every file in c:log.

    I know how to use find in linux to search for text on a specific computer but i don’t know how to combine my script for my needs.

    Can anybody help? i don’t mind changing to VBS or anything.

    Attached my current script, rename findfiles.txt to findfiles.ps1 to run.

    [ATTACH]4846[/ATTACH]

    [ATTACH]4847[/ATTACH]

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.