Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

GCI is very slow for remote server location

$
0
0

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


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>