none
PowerShell: Accessing "Date Last Saved" file attribute/property RRS feed

  • Question

  • I've been given the task of cleaning up many years worth of attrition in a network share. So I've started by writing a script that will report any files older than a given date using CreationTime, LastAccessTime or LastWriteTime. The problem I've found is that these attributes are often inaccurate. When I look at the "Date Last Saved" that's available in Windows Explorer it does not jive with LastWriteTime or "Date Modified", but appears to be the most accurate of the 3. Is there a way of accessing "Date Last Saved" through PowerShell?

    Andy

    Wednesday, June 17, 2015 3:41 PM

Answers

All replies