SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
(Get-ChildItem -Path c:\pstbak\*.* -Filter *.pst | ? { $_.LastWriteTime -gt (Get-Date).AddDays(-3) }).Count