PowerTip: Use PowerShell to Return Directory Information

Dr Scripto

Summary: Use Windows PowerShell to return directory information.

Hey, Scripting Guy! Question How can I use Windows PowerShell to provide information about directories in a specific location?

Hey, Scripting Guy! Answer Use the Get-ChildItem cmdlet, specific the path and use the –Directory switch, for example:

Get-ChildItem e:\data -Directory

0 comments

Comments are closed. Login to edit/delete your existing comments