Forum Discussion
ankit shukla
May 25, 2020Iron Contributor
Check file size and take desired action
I have location where a software saves an Excel File for me. ( I control the location, time and other things) I have a powershell script already that emails this file to my Outlook Groups. I ...
Manfred101
May 26, 2020Iron Contributor
ankit shukla You can do something like this:
Get-ChildItem | where { (-NOT $_.PSIsContainer) -and ($_.Length -gt 0.5KB) }Good luck
Grtz, Manfred de Laat