Get-WmiObject Win32_Directory -filter 'Drive="C:" and Path="\"' -ComputerName MyPC |
select FileName,LastModified -First 3
But the return I have is a string:
FileName LastModified
-------- ------------
$recycle.bin 20151022091602.219458-120
0f74e86e50f02a5493eece53fbe1da58 20141005215102.861881-180
384d408957a87176de 20141004215102.325431-180
How do I display the date or to convert these string into date?