Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

access DateImported

$
0
0

There is a value just for picture files, DateImported. Since a lot of programs don't give access to it for sorting and such I would like to write a script that would assign the DateImported to the LastWriteTime. Something like:

PS C:\> (ls test.jpg).LastWriteTime = (ls test.jpg).DateImported

Except it doesn't know what DateImported is when I try it that way. Any ideas?

Thanks


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>