I am currently assigned to develop an automation to ignore alerts (in OpsGenie) from machines that are part of a scheduled maintenance in Ivanti Patch. Exploring the API module STProtect on Powershell, I didn't find any command useful to get scheduled patches. With the help of the documentation in powershell, I was only able to get the list of finished schedules using Get-PatchScan -OnOrAfter 'YYYY/MM/DD'
Do you have other ways on how to get scheduled patches within the current day or future?
I am referring to the list shown below: