Solved

Query File Last Accessed Dates

Posted on 2013-05-21
2
278 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
2 Comments
 
LVL 21

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

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

792 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