I have a powershell script that runs on my Windows 2012 Hyper V Hyper visor that produces the output of CSVs (cluster shared volumes) that are below a certain value of free space available. This script currently send the output to screen. I would like to build a power shell script that runs using the system scheduler and if a drive is below a certain value, say 10GB, it sends this info to a specific email address. I would like to achieve the following:
1. if the drive is less than X GB free include the volume in the script which will be emailed.
2. I would like the abililty to exclude specific volumes from the email. If I know a certain volume has less than the value I do not want false alerts, so I would like to have an exclude section
3. I would like to have the ability to schedule this, using system scheduler to schedule this is fine. We can set it to run the script on an hourly basis.
I currently have the script nearly there. The script currently sends a report of all volumes. Info includes , total space, free space and space used. This is exported to a comma delimited file and emailed once daily. I need this to be more an alerting system so we can set a value, run the script more frequently so we are alerted with a cluster shared volume is filling up. The current script does not exclude volumes which do not meet the criteria and there is no way to exclude specific volumes. This can be configured in the script. I do not need any GUI for this project. just a way to monitor free space of CSV cluster shared volumes in a hyper v cluster.
I can provide the script that I have now along with a sample of the output. the script really just needs some tweaking to exclude volumes which do not meet the criteria and have the ability to exclude specific volumes by entering them into an exclusion section of the script. Thanks
11 freelancers estão ofertando em média $145 para esse trabalho
Hello! I am windows system administartor. Some times I write some scripts for control my systems: bash, powershell, batch files... So, I can help you to improve you script.
Thanks for clearly explaining the requirement. We understand your requirement and ready to get your task done. Please share script and complete let us have communication for further proceeding with the task.