How to Change Created, Modified, or Access Date of a Document Using PowerShell (Windows 10/11)

How to Change Created, Modified, or Access Date of a Document Using PowerShell (Windows 10/11)

HomeOther ContentHow to Change Created, Modified, or Access Date of a Document Using PowerShell (Windows 10/11)
ChannelPublish DateThumbnail & View CountActions
Channel Avatar UTechSeries2022-05-15 21:30:31 Thumbnail
6,852 Views
Did you know you can change the created, modified, or access date of a document in Windows? ️ Learn how to use PowerShell to modify file timestamps in this step-by-step tutorial. Whether you’re on Windows 10 or Windows 11, this guide will show you the commands to adjust document dates with ease. Watch now and master this handy trick!

PowerShell:
Created: (Get-Item /”C://test//test.txt/”).CreationTime=(/”12 August 2021 15:00:00/”)
Modified: (Get-Item /”C://test//test.txt/”).LastWriteTime=(/”12 August 2021 15:00:00/”)
Access Date: (Get-Item /”C://test//test.txt/”).LastAccessTime=(/”12 August 2021 15:00:00/”)

Disclaimer:
All the videos are made for educational purposes. We are not responsible for any damage caused by following the videos. It is your own responsibility, or you can skip the video.
Unfortunately, there might be special/rare cases where a solution might not work. This might happen if the computer also has other issues.
Thank you.

Please take the opportunity to connect and share this video with your friends and family if you find it useful.