Solved

Query File Last Accessed Dates

Posted on 2013-05-21
2
279 Views
Last Modified: 2013-06-04
We have terabytes worth of data that we need to clean up, and to do that we have to query files last accessed dates.

THe problem though is alot of these user files access permissions were set to specific user's only (no admin access or whatsover). What is the best way to capture this by bypassing the access issues and way to be able to go through terabytes of data.
0
Comment
Question by:syseng007
[X]
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
2 Comments
 
LVL 22

Accepted Solution

by:
dan_blagut earned 500 total points
ID: 39186921
Hi
You can try:
get-childitem –recurse | where-object {$_.lastwritetime -lt “1/13/2008”}| select-object name,LastWriteTime, length | out-file c:\rapport.txt

but the permission is not a good thing. Anyway for deleting the files you need to have access rights. So first do permission cleanup, use groups, not users and be sure that domain admins are full access on all data.
You can explain go your users that whitwout prepoer permission you can't have backup, and you can not manage this file server.

Dan
0
 

Author Comment

by:syseng007
ID: 39210705
Ok thank you. Any other ideas?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

696 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