Any available plugin/script that shuts down PC automatically after live streaming has stopped?


I use OBS to record/stream automatically, it's for Zoom meetings and I am not the zoom admin, so I don't have technical privilege to record the meeting. Not to be confused for piracy, this is for educational use. This is what automated OBS recording looked like. I used Advanced Scene Switcher to operate it automatically. But my issues is this: How can I make OBS send command to Windows to shut down the PC for saving electricity?
You can achieve what you are looking for using the advanced scene switcher's macro tab - specifically the "Run" action.
Assuming you are on windows you can configure something similar to this:


The "300" stands for 300 seconds until Windows will shut down after running the command.
So in this case 5 minutes after the local recording was stopped the command to shut down the computer in 5 Minutes will be executed.

But please be careful not to configure something which will instantly shut down your computer once you start OBS.
And just in case - the command to stop a shutdown is "shutdown.exe -a".