Powershell - Get files or Folder list

2011/01/12 | less than 1 minute read |

Directories: get-childitem . -recurse where{$_.PsIsContainer}
Files: get-childitem . -recurse where{!$_.PsIsContainer}

Leave a comment