You need to learn more about the way software and hardware can interact.
There\'s no way that software can \'turn off\' an electrical connector which isn\'t in any way tied into the computer besides the powersupply.
You gotta throw a hardware switch into there, or if you really want to do this with software, a hardware switch that is commanded by software (which would have like a card involved or something, to interact with your OS).