
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2021 08:20 PM
Hello - is it possible for a free & total disk space report to include folder detail? For example the top 5 largest folder sizes or at least the largest folder?
Thanks!
Thanks!

Labels:
- Labels:
-
Report Center
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2021 07:43 AM
The way I tackle this is have a report that is run once a week for machines below 5GB. That report gets emailed to the helpdesk to look at the machines run the necessary clean up tools etc. Repeat offenders get flagged for review and look at that they are doing, if we need to increase their disk space eg SSD upgrade etc. End of the day most of our stuff has been pushed to the cloud, one drive sync etc. So not really having disk space issues.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2021 09:32 PM
Thank you for the suggestions, we also use Tree Size, my boss was just looking for an inclusive report of assets that are showing up with the low hard disk space warning and detail of where the space is being used. I figured I would have to use a different tool or cobble something together.


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2021 06:01 PM
We tried something similar like the powershell script above.
Output is sent to an eventlog, which is captured by Lansweeper, but I'm still struggling to get this event in a meaningfull report.
Nevertheless, it's a good option just for troubleshooting disk capacity issues, if you don't have remote access to the system.
Output is sent to an eventlog, which is captured by Lansweeper, but I'm still struggling to get this event in a meaningfull report.
Nevertheless, it's a good option just for troubleshooting disk capacity issues, if you don't have remote access to the system.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2021 04:37 PM
I wouldn't hold my breath. You're basically asking that LANSweeper do a frequent full disk scan. That would be time-intensive and performance-intrusive.
If you're occasionally interested in space usage on specific Windows machines, you could add SpaceSniffer as a custom action. It's been referenced by others in these forums in the past, e.g. here and here. Someone else uses WinDirStat. (WinDirStat Portable can be found at PortableApps.com)
If you're occasionally interested in space usage on specific Windows machines, you could add SpaceSniffer as a custom action. It's been referenced by others in these forums in the past, e.g. here and here. Someone else uses WinDirStat. (WinDirStat Portable can be found at PortableApps.com)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2021 10:48 AM
Hi Cori,
I don't believe this is possible, but I may be wrong ?
One option would be to create a new action which runs a powershell script to enumerate the folder sizes, something like this (http://www.sqlnuggets.com/blog/using-powershell-to-list-folders-and-sizes/):
With a new action something like this :
This will produce something like :
\\PCName\C$\Windows -- 6.4 GB
\\PCName\C$\Temp -- 0.01 GB
\\PCName\C$\PerfLogs -- 0.0 GB
I don't believe this is possible, but I may be wrong ?
One option would be to create a new action which runs a powershell script to enumerate the folder sizes, something like this (http://www.sqlnuggets.com/blog/using-powershell-to-list-folders-and-sizes/):
$Computername=$args[0]
$startDirectory = "\\" + $Computername + "\c$"
$directoryItems = Get-ChildItem $startDirectory | Where-Object {$_.PSIsContainer -eq $true} | Sort-Object
foreach ($i in $directoryItems)
{
$subFolderItems = Get-ChildItem $i.FullName -recurse -force | Where-Object {$_.PSIsContainer -eq $false} | Measure-Object -property Length -sum | Select-Object Sum
$i.FullName + " -- " + "{0:N2}" -f ($subFolderItems.sum / 1GB) + " GB"
}
With a new action something like this :
powershell -noprofile -ExecutionPolicy bypass -command //LansweeperServerName/defaultpackageshare$/scripts/script.ps1 {computer}
This will produce something like :
\\PCName\C$\Windows -- 6.4 GB
\\PCName\C$\Temp -- 0.01 GB
\\PCName\C$\PerfLogs -- 0.0 GB
