AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Windows treesize alternative1/1/2024 ![]() ParameterSetName = "ShowTopFolderAllItemsAndAllFolders" If you have any questions feel free to drop me a comment and I’ll do my best to get back to you. There are 3 decimal places so smaller files won’t show 0 size.Get-DirectoryTreeSize -Path C:\Temp -Recurse | Sort-Object FolderSizeInMB -Descending will quickly get the largest folder in your query.AllItemsAndAllFolders will get all files, all folders and the total size for the specified directory and all subdirectories.To avoid long subfolder strings, subfolders will display “.\” instead of $Path.Recurse shows files, folders and sizes for each directory respectively.Only specifying the path parameter will show files, folders and size for the specified directory. ![]()
0 Comments
Read More
Leave a Reply. |