Are you talking about connecting a switch for your case, where it connects to the Led,Power, reset switch pins of the motherboard header block on the motherboard it`s self ? bridging two pins for the power switch.
The switch on most cases used as a power on, or off button is only a momentary switch of the No type, normally open.
The system is turned on when the loop, or wired momentary switch is pressed down to create a closed loop circuit.
It does not carry a voltage.
The motherboard simply senses the loop is closed.
And then the motherboard it`s self and the power circuits hold the power on state open all of the time, till the button is pressed again triggering a power off state.
Or by windows signalling the system to power off if shutdown is selected as the power option.
No voltage is carried by the power switch you see on pc tower or case.
It just works on a circuit, and the fact it senses when the loop is closed or completed via pressing the power button down Filippo94.
Pass a voltage down it, and you will pop your motherboard.
It`s why for example you can turn the motherboard on or off by simply bridging the two pins where the power switch should be connected to on the motherboard with something like just a flat screwdriver tip.
A simple momentary switch.