This is kinda cool.
I have a headless (well, not headless, but the only display I see is the secondary display which only shows me Theater View) HTPC out in my living room, connecting to my main library via Library Server. I realized that there was a need to reload the library, since changes in the library aren't sent to the client until it's reloaded. So I set up a simple Girder macro that would kill the MC task, wait 15 seconds, then restart it. Simple enough.
I then realized that I would need a way to easily update MC, since I update the server with every new build. So I created a shared folder on the server that I download each build to. I save it as "MCUpdate.exe". I then set up another Girder macro that would kill the MC task and then run MCUpdate.exe off the share. Since I set the HTPC up to use Auto Install, it just installs, and then fires back up, loading Theater View in the process.
I mapped both of these to buttons on my remote and voila. Now it's easy as pie to keep the HTPC updated.