Solved

Powershell Command - Run To get Lat Accessed Dates

Posted on 2013-05-21
1
331 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
1 Comment
 
LVL 11

Accepted Solution

by:
apathy42 earned 500 total points
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
A procedure for exporting installed hotfix details of remote computers using powershell
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

763 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

11 Experts available now in Live!

Get 1:1 Help Now