Thanks for your feedback. However, the above provides the below output which is great.
However how do we identify if system was rebooted using a proper reboot or was it due to some live migration on hyper-v / power outage. I have put a real time issue which I am facing and looking for your...