How to Get the File Modified Date in PowerShell (and Change It)
A file’s modified date lives in its LastWriteTime property. Grab the file with Get-Item and read that property: That’s the same value File Explorer shows in the Date modified column. CreationTime and LastAccessTime sit right next to it on the same object. In this tutorial, I’ll show you how to get the file modified date … Read more