Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

reporting folder and files access and size

Posted on 2013-01-25
1
257 Views
Last Modified: 2013-02-15
I have windows 2003 server, i need to clean up servers. My users are really bad with putting files everywhere. Is there a tool to tell how big folders and sub-folders  are and when last time access?

thanks
0
Comment
Question by:officertango
1 Comment
 
LVL 40

Accepted Solution

by:
footech earned 500 total points
ID: 38821675
TreeSize Professional can show you that info.
http://www.jam-software.com/treesize/
The free version will show you the sizes, but not the last access date.  I'm sure there's other utilities out there as well.
You could also script something.  For instance, here's an example using PowerShell which shows the size of each folder individually (not including subfolders, though the script could be modified to do so).  You would just need to modify what the $startFolder variable is referencing to check some other folder location.
$startFolder = "K:\some-folder"
$out = @()
$custom = New-Object PSObject
$folderInfo = (Get-Item $startfolder)
$Properties = @{
  Name = $folderInfo.FullName
  LastAccessTime = $folderInfo.LastAccessTime
  Size = "{0:N2}" -f ((($folderInfo | Measure-Object -property length -sum -ea SilentlyContinue ).sum) / 1KB)+" KB"
}
$custom = New-Object PSObject -property $Properties
$out += $custom
ForEach ($folder in (gci $startfolder -recurse | Where { ($_.PSIsContainer) }))
{
  $Properties = @{
    Name = $folder.FullName
    LastAccessTime = $folder.LastAccessTime
    Size = "{0:N2}" -f (((gci $folder.FullName | Measure-Object -property length -sum -ea SilentlyContinue ).sum) / 1KB)+ " KB"
  }
  $custom = New-Object PSObject -property $Properties
  $out += $custom
}
$out | Format-Table -auto

Open in new window

0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question