Hi Experts. I am getting more familar with powershell and the more I use/test with it, the more I like it. Since there is a computer in our environment that is showing it has less than 25% disk space left (thanks SpiceWorks for the warning), I would like to use powershell to run a quick audit to tell me what file(s) may be blowing up.
I ran dir \\pc\c$ -r and the list of files and their sizes just kept going and going. Would one of you that know what switch I am missing kindly tell me how to filter out file sizes that are less than 10mb or are over 10mb (which ever is easier), please?
Your help is greatly appreciated. Thanks!