#拷贝D盘上次修改时间晚于2012/10/1的txt文件到E盘
$txt = get-childitem d:\*.txt | where-object {$_.lastwritetime -gt "2012/10/1"}
foreach ($t in $txt)
{copy-item $t e:\}
get-childitem e:\*.txt