How to change “Date Modified” in Windows with PowerShell
Tuesday, 11 November 2014 20:24
I was doing some development locally and needed to change the file time on some files so I could delete certain files in a directory. Below is the code I used to change the files modified time:
$b=Get-Date"11/10/2014 8:00 AM"
Hopefully you find this as useful as I did!
This entry was posted on Tuesday, November 11th, 2014 at 8:24 pm and is filed under Programming.
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.