Finding Files

by Aug 24, 2011

Dir (Get-Childitem) is a simple, but effective way to find files. The following line will find any file or folder called "hosts" anywhere inside your Windows folder. It may take some time for the results to display because this command will initiate a full recursive search:

dir c:\windows -Filter hosts -rec -ea 0 -Name

Twitter This Tip!
ReTweet this Tip!