Thread: Help a newbie
View Single Post
Old 05-16-2007   #1 (permalink)
brhessel


 
 

Help a newbie

I'm trying to learn Powershell (reading Powershell in Action right
now) but I am struggling with some of the basics and running out of
time for a script I need.

I want to find all files with a certain extension on a share and
output the results in a nice format that contains the path, name, size
in MB, and last access time. So far I have:

get-ChildItem -recurse -include a_*.nsf | Out-File -FilePath c:
\archives.txt

but this doesn't give me all the information I am looking for nor put
it in a very nice format. I'm sure if I spend some more time on this I
could get it but right now I am in a rush. Thanks for any help.

My System SpecsSystem Spec