PowerShell modify create write time

PowerShell.exe -nologo -command "(Get-ChildItem -Path c:\zabbix\*.* -Filter *.exe | ? {$_.LastWriteTime -gt (Get-Date).AddDays(-3) }).Count"

No comments: