Solved

Powershell Command - Run To get Lat Accessed Dates

Posted on 2013-05-21
1
335 Views
Last Modified: 2013-06-05
Hi Experts,

I'm trying to run this powershell command to access directories and files last accessed time. A challenge is the folder path and subdirectories are restricted to specific owners (meaning no administrators).

Will this script work using an administrator account?

Get-ChildItem \\sharefolder\folderA -recurse | Select-Object FullName, creationtime, LastAccessTime, length | Export-CSV D:\<location>\filename.csv
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
1 Comment
 
LVL 11

Accepted Solution

by:
apathy42 earned 500 total points
ID: 39185291
You would first need to take ownership and reset the permissions before you can do any of that.  Using Powershell does not circumvent the ACLs on the file.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

710 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