Tom-J-Lael
asked on
Powershell help - finding files lastwritetime
I'm trying to create a PS script that finds files (non-recursively) prior to a certain date.
Get-ChildItem e:\cadcam\scandata | Where-Object {$_.LastWriteTime -lt "1/1/2008 00:01 AM"
when I press enter..nothing happens..no errors...nothing
help?
Get-ChildItem e:\cadcam\scandata | Where-Object {$_.LastWriteTime -lt "1/1/2008 00:01 AM"
when I press enter..nothing happens..no errors...nothing
help?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i did not want to recurse because I only wanted what was in the parent folder.