Powershell: Iterate Over Files in a Folder or Directory Recursively

12/9/2019 1:07:09 AM

Iterate over all files in a folder or directory recursively.


$folder__path = "C:\Users\Me"

$files = Get-ChildItem $folder__path –Recurse

foreach ($f in $files){
   echo $f.FullName
}