Im playing with powershell in order to learn more about it. So probably a very simple question here.
I have a directory called c:\test in it there is a single text file. Now if i run the following command
dir | get-member
It returns all the methods and properties of the text file. Some of these i see are creationtime, lastaccessedtime, fullname, etc.
What I would like to know is how do i actually return those values? So say I wanted to get the lastaccessedtime of the file that is in my test directory. How would I go about that.