top of page

powershell script to get list of file types

You can use this PowerShell script to generate a list of each file extension on a C drive.


Get-ChildItem -Path C:\ -Recurse -File | Select-Object Extension -Unique | Sort-Object Extension




As always I’ve tested this method and confirmed that it works. It should take 10 to 20 minutes depending on the size of the hard drive.

 
 

Recent Posts

See All
How does Relativity use AI data?

How is data generated by aiR utilized by Relativity? Relativity has published a white paper addressing its AI security policies assuring...

 
 

Sean O'Shea has more than 20 years of experience in the litigation support field with major law firms in New York and San Francisco.   He is an ACEDS Certified eDiscovery Specialist and a Relativity Certified Administrator.

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer.

If you have a question or comment about this blog, please make a submission using the form to the right. 

Your details were sent successfully!

© 2015 by Sean O'Shea . Proudly created with Wix.com

bottom of page