Solved

Query File Last Accessed Dates

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

695 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