troubleshooting Question

PS script to find jpg's, mov's, other files in user network share

Avatar of samiam41
samiam41Flag for United States of America asked on
PowershellWindows 7Windows Server 2003
10 Comments3 Solutions888 ViewsLast Modified:
Greetings EE!  I am preparing to migrate our workstations from XP to 7 and part of the project's early stages is the file server clean-up which includes the network shares for our users.  With 250+ user folders, I figured this would be a good time to use Powershell for something besides tutorials and start using it in the real world.  Here is what I need to do:

1- Audit how much space (overall in the "users" directory) is being occupied by non-work related file types such as jpg's, music files, video's, etc.
2- Get the overall parent folder size for each user
3- Report of the file size in XLS

The network shares are under the \\fileserver\users directory (users is the name of the directory and share name).

Like I said above, I have been learning Powershell and this is my first non-training wheel, real-world script project.  It would have been great to start with something small but that isn't state gov for you.  Your help is appreciated.
Joseph Daly

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros