After Hours

General discussion


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.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums