Hi,
I got it to work using the script below. Do you foresee any issue from doing it this way?
foreach ($a in Get-ChildItem C:\Output_logs_from_tests)
{
if ($a.CreationTime -lt ($(Get-Date).Adddays(-1)))
{
move-Item $a.FullName C:\testfolder
}
}
Thanks.