Search for a text in files in remote computers Share on Facebook Post on reddit Tweet on Twitter Share on LinkedIn Home › Forums › Scripting › General Scripting › Search for a text in files in remote computers This topic has 0 replies, 1 voice, and was last updated 9 years, 7 months ago by Retaliator. Viewing 1 post (of 1 total) Author Posts RetaliatorMember Jun 01, 2011 at 12:38 am #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 Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic.