Hi,
Looking for a query to list all *.BAK files which are older than XX days. Used GCI with filter and where-object to get the list of files. I'm getting the results but it's taking 30-40 min to get the list of files from a single drive(size is around 2-3TB).
Please let me know how to improve the GCI performance for a remote location.
Currently looking at http://blogs.msdn.com/b/powershell/archive/2009/11/04/why-is-get-childitem-so-slow.aspx. Any other options?
Thanks in advance.
-Naren M