Hi,
I will need to count the files created in 2016 in the following folders (including subfolders).
I have used this command below
Get-ChildItem -recurse | Where-Object {$.CreationTime -gt "01/01/2016" -and $.CreationTime -lt "01/01/2017"}
But I'm getting " LastWriteTime" instead I need CreationTime; does it the same?
Also would like to export it in the file.
Thanks for your help!
Wilfried,