I have the following script to look for file names that contain a name in a list. However it seems to take a long time to complete. Is there anything that can be done to get faster results?
Get-ChildItem -Path “C:\Users" -Recurse -Force -Exclude *.dll, *.exe | where {$_.name -like "one","two","three","4","5","6"} | Select-Object fullname,name,lastwritetime | Export-Csv “c:\location\Keyword-search.csv” -NoTypeInformation

