Similar to This question. However, what I want is output similar to what you get when you ls
or dir
the directory, so that I get the timestamps, size, etc.
I tried
Get-ChildItem -recurse | Select-String -pattern "dummy" | group path | select lastwritetime,name
but had no success. When typing above I get:
Name lastwritetime
File1.txt
File2.txt
and so on.