General discussion

Locked

Search entire drive using select-string in powershell

By jcwfbi ·
Tags: Off Topic
HI all using the select-string cmdlet in powershell, I am able to find the path do a file if I'm either in the directory all ready or I specify the entire path to the file using the -Path switch.

Is there a way to get select-string to find the file just by putting in the name of the file?, This without having to specify the whole path?

Any thoughts are appreciated.

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to After Hours Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums