Change Modify/Creation Time of a File | Powershell

March 23rd, 2021 07:45:35 PM

					
#Run powershell as admin and then use: #Creation Time: Get-ChildItem C:\testFile1.txt | % {$_.CreationTime = '01/11/2005 06:00:36'} #Last modified: Get-ChildItem C:\testFile1.txt | % {$_.LastWriteTime = '01/11/2005 06:01:36'}

Featured Posts