2011/01/12

Powershell - Get files or Folder list

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

No comments:

Post a Comment