Solved

Powershell Command - Run To get Lat Accessed Dates

Posted on 2013-05-21
1
332 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
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
Set OWA language and time zone in Exchange for individuals, all users or per database.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 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

10 Experts available now in Live!

Get 1:1 Help Now