Check Servcies Before and After Server state Change
Use The script "Before Servcie state Script" to run on server before rebooting the server
Once server is rebooted and Up we run Other script "After Servcie state Script" to check status of service which went to stopped state after patching.