First, you don't need to call Get-Date for every file. Just call it once at the beginning: $t = (Get-Date).AddMinutes(-15) Get-ChildItem -Path $path ...
確定! 回上一頁