Link to home
Create AccountLog in
Avatar of syseng007
syseng007

asked on

Powershell Command - Run To get Lat Accessed Dates

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
ASKER CERTIFIED SOLUTION
Avatar of apathy42
apathy42
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account