New Function Name: Get-StaleDirectories # Name is a work in progress
Describe the solution you'd like
This is a function to find inactive folders. It does this be looking for last written to files for each subfolder of a top-level directory. It then returns datetimes for the last time any file in those subfolders was edited. This can be used for cleaning up certain file shares like user files shares.
Feature Target Details
Describe the solution you'd like This is a function to find inactive folders. It does this be looking for last written to files for each subfolder of a top-level directory. It then returns datetimes for the last time any file in those subfolders was edited. This can be used for cleaning up certain file shares like user files shares.
Code Sample