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

PowerTip: Use PowerShell to Return Directory Information

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>