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