PowerShellでファイルのタイムスタンプを変更する方法
以下のコマンドで更新日が変更できる。
$ Set-ItemProperty C:\hoge.png -name LastWriteTime -value '2019/11/20 00:00:00'
作成日を変更する場合は、LastWriteTime の代わりに CreationTime にする。
$ Set-ItemProperty C:\hoge.png -name CreationTime -value '2019/11/20 00:00:00'