Why is LastAccessTime not changing when a file is accessed?

Viewed 130

Why is LastAccessTime not changing when the file is accessed? What does LastAccessTime really mean?

PS C:\src\t> Get-Date

Monday, March 22, 2021 09:18:19


PS C:\src\t> Get-Content .\t.txt
adsf
asdfa asdf asdf asd f
a
012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
safd
asdf;lkj a;kja;k
PS C:\src\t> (Get-ChildItem .\t.txt).LastAccessTime

Wednesday, December 4, 2019 17:30:23

Is this considered a bug? https://stackoverflow.com/a/18114053/447901

0 Answers
Related