This question already has an answer here:
This is pretty much a repeat of the question from social.technet.microsoft.com:
After a quick Google search, the above link is the only link I could find which was directly related to what I am looking for. But on that page the discussion seems to have decayed into some inconclusive babble, and I thought
Superuser might be a good place to get a conclusive result (even if it is in the negative).
So is there a way I can tell Windows to shutdown the machine after it is done installing the updates? Please note that I want it to shutdown and not restart, so that my PC doesn't stay on the whole night. I thought of scheduled tasks, but am not able to come up with a good argument that I can pass to make it do what I need it to.