Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

List files in a directory (Powershell v1.)

$
0
0

I'm looking at the examples to out a directory listing all the files into a .txt document. I can't seem to use the GET-ChildItem command to work in a different directory,

Get-ChildItem

This lists all the files and directories on the top directory, but how to do this for a spcifice folder or directory?

Thanks


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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