15 tháng 2, 2016

reporting on the owners of largest files windows server 2012

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 nhận xét:

Đăng nhận xét