The attached script allows to get a list of folders that were not used (did not have any activities on folders/files underneath them) after the specified date.
To use the script:
1. Run PowerShell x86
2. Add DataGovernance snapin by executing: Add-PSSnapin Quest.DataGovernance
3. Run the script:
UnusedFolders.ps1 HostName "FolderPath" "mm/dd/yyyy"
where FolderPath - path to the folder under Security Managed Root. For example: \\server\sharedfolder.
Note: the folder path should be in the same format that you see when browse file system of the host using the Resource Browser
Note: If the last action on a folder was Rename, the renamed folder will be in the list.
To get a list of folders that were renamed, the following cmdlet could be used:
Get-QResourceActivity $Mhost.ManagedHostId $SecurityRoot -StartTime $Date | where-object {$_.TypeResource -eq "NTFS\Folder"} | where-object {$_.Operation -eq "Rename"} | select ResourcePath, Operation | format-table