I need to write a script to run against multiple servers to see if files below exist.
30-114type.txt
88225prop.docx
One script I came up with is below but it only find only file then once the script is done searching the server I have to run another search for the second file. What is the easiest way to write a script to run manually on each server or to run from one
system to connect to each server remotely to search all the drives that are found on the system? These files could be in any folder on the server which is why it is not an easy script to write. Your help would be appreciated.
Get-ChildItem F:\data\*
-recurse
-filter
"30-114type.txt"}
|
select
name