Link to home
Start Free TrialLog in
Avatar of abhijitm00
abhijitm00Flag for United States of America

asked on

List files/folders with size on server core

Hi Experts, is there a powershell command to list largest files and folders under C:\ for a 2012 server core?

TIA
Avatar of REIT
REIT

Hi,

I have used this article to achieve this in the past hopefully it will help you achieve what you need it to.

http://blogs.technet.com/b/heyscriptingguy/archive/2014/02/03/list-files-in-folders-and-subfolders-with-powershell.aspx

Bear in mind when using the above article to run the commands within powershell ensure you run Powershell as admin.
Avatar of abhijitm00

ASKER

Thanks. Is there a way to store this info into a .txt file and obtain that file from the core server?
ASKER CERTIFIED SOLUTION
Avatar of REIT
REIT

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial