Simpatie.ro - matrimoniale
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
sayler_moon_19
Femeie
25 ani
Bacau
cauta Barbat
26 - 46 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[POWERSHELL] Find Large Files in Folder and Subfolders

Pagini: 1 Moderat de TRaP, TonyTzu
#1
Mrrrr
AdMiN
Postari: 2388
1. Open Windows Powershell on that folder (either shift + right click the folder or open Powershell from Start/Search)

2. Copy/paste the following line to display the 10 biggest file sizes in GB (paste is with right click in Powershell once you copied it from here):

gci -r|sort -descending -property length | select -first 10 name, @{Name="Gigabytes";Expression={[Math]::round($_.length / 1GB, 2)}}


3. Hit ENTER

Note:
If you want more than 10 files in the list, make sure you change the 10 after the -first argument in the line above to your desired number.

Source:
https://4sysops.com/archives/finding-la ... owershell/


_______________________________________


 
   
Pagini: 1  
Mergi la