Solved

Query File Last Accessed Dates

Posted on 2013-05-21
2
275 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

I have never ceased to be amazed how many problems you can encounter on a fresh install of a Windows operating system.  This is certainly case in point& Unable to complete ANY MSI installation.  This means Windows Updates are failing and I can't …
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now