get-childItem
to search for files that match the given wildcard under the current directory. # fb = Find below # # V.3 # # use fullName in output to emulate "dir /b /s" # param ( [string] $wildcard ) get-childItem -force -errorAction silentlyContinue -recurse -filter $wildcard | select-object -expandProperty fullName # use -expandProperty so that output is not truncated, see https://stackoverflow.com/q/70694197/180275