1. Open Powershell ISE on your file server → Navigate to your file share using "cd" command → after that run the following powershell code:
gci -re -in * |
?{ -not $_.PSIsContainer } |
sort Length -descending |
select -first 25
2. After that you will see the top 25 largest files on your shared drive. Copy and paste this information into "txt" or "doc" file.
0 Comments