I need to find a script that will count files in a directory and return results via email if they exceed a certain amount. I am trying to automate a manual process. I am not a Powershell expert, but I am trying to learn. Can anyone point me in the right direction?
Software/Hardware used: Windows 2008 R2 on VMware 4.1
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!