How to Log the information while the system is getting shutdown or rebot or restarted by Bot?

Hi All,

Can any one help me on how to read the logs while the machine is made to shutdown or restart by the bot?

I need your help one how to handle this from command prompt or powershell.

Thank you in Advance.


Hi welcome to the community!
I dont think i understand well what you need, you have a process that commands your PC to restart or shutdown? If this is happening then most likely the robot itself will stop…