Quick update to the Pre/Post code to enable or disable xp_cmdshell if you have some policy that prevents it from always being enabled. Version 1 doesn't do any checking to see if another "Minion" proc is running before disabling xp_cmdshell.
Update your tables as needed to turn on/off the xp_cmdshell option.
Initial Version.