SCCM Configmgr How to get list of deployments set to ignore maintenance window and Reboot Outside maintenance window

Introduction: Few months ago ,we had an issue with one of the deployment (it was software updates) that was deployed to collection with override service window due to emergency patch to be installed on the clients. Deployment went fine and results were positive .All good ,but after few days ,some clients were added to the…