Hi,
I just started learning PS and I am looking for a NetApp powershell script that can monitor and alert on the spare drive count.Does anybody has a script to check the spare drives on filers on a weekly basis and tthat triggers out alert if the spare drive count is less than atleast 2 ? I could able to write a basic script that checks for spare drive count and measure it, but I don't know how to write a script to setup the alerting based on the count.
Thanks for your help in advance.