mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
7 lines
211 B
PowerShell
7 lines
211 B
PowerShell
|
$date = Get-Date -Year 2016 -Month 11 -Day 1 -Hour 7 -Minute 10 -Second 5 -Millisecond 0
|
||
|
|
||
|
$item = Get-Item -Path "$($args[0])"
|
||
|
$item.CreationTime = $date
|
||
|
$item.LastAccessTime = $date
|
||
|
$item.LastWriteTime = $date
|