Here is how it was wired with the switch. It worked fine shutting off and powering on both PSs. But when I merged the power cords together, the ungrounded PS would always stay on and the grounded PS would always stay off no matter where the switch was.