I'm trying to create a one-liner using WMI to recursively search a drive for files modified after a certain time. So far I found a line that will work for a single directory, but I was unable to figure out a way to recursively run it on every directory starting at c:\
wmic datafile where "drive='c:' and path ='\\' and lastmodified>'20140502233423.000000-240' and lastmodified<'20161223233445.000000-240'" get lastmodified, name
This returns files modified before and after those dates within the base of the c: drive
Thanks in advance.