$cs.File_FindFile

Syntax

$cs.File_FindFile(string filename,string searchroot, bool recursive)

 

Parameters

filename

File to search for

searchroot

Directory to start the search from

recursive

Search subfolders

 

Example

[System.Collections.ArrayList]$filelist=File_FindFile("update.exe","C:\Users",$true)

returns string list

Â