Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Get a Directory Listing of Multiple Folders

$
0
0

Summary:  Learn how to get a directory listing of multiple folders.

Hey, Scripting Guy! Question How can I use Windows PowerShell to look at the contents of multiple folders at once?

Hey, Scripting Guy! Answer Use the Get-ChildItem cmdlet, and specify more than one folder for the path, for example:

Get-ChildItem –path c:\fso,c:\music

 


Viewing all articles
Browse latest Browse all 3333

Trending Articles