abhijitm00
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
TIA
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.