PowerTip: Get a Directory Listing of Multiple Folders
Summary: Learn how to get a directory listing of multiple folders.
How can I use Windows PowerShell to look at the contents of multiple folders at once?
Use the Get-ChildItem cmdlet, and specify more than one folder for the path, for example:
Get-ChildItem –path c:\fso,c:\music