I want to retrieve the warranty dates of my DELL server devices and compare them to the current date, then my powershell script send the result to my CENTREON (less than 90 days Warning, less than 30 days CRITICAL…etc …)
I found a script “GetDellWarrantyInfo.ps1”
the script works well and I get the information “warranty date” in a variable.
unfortunately I do not know how to process the information I get, I start powershell and I do not understand how to convert my result format date and then make the comparison with the date of the day.
Do you have some tips to bring me to help me in my research?
in advance a thank you to those who can help me.