how to change file metadata code example Example: change file creation metadata (Get-Item "D:\Test\log1.txt").CreationTime=("3 August 2019 17:00:00")