Find files with PowerShell
PowerShell can recursively find files like GNU Findutils using PowerShell function Get-ChildItem. The abbreviated form of Get-ChildItem is “gci”. Typically the “-Recurse” option is used as the default is to only search the specified directory level.
Examples:
Recursively find all “*.lib” files under directory ./build:
gci -Path build -Recurse -Filter *.lib
Find all files named “my.txt” under directory ~/projects:
gci -Path ~/projects -Recurse -Filter my.txt
Open all files found above in “code” Visual Studio code:
code (gci -Path ~/projects -Recurse -Filter my.txt)