Again it is important that you explain more about what problem is occurring and/or exactly what you are trying to do.
If, for example, the case power switch is broken then replacing the switch would be recommended.
May not be at all difficult for the most part depending on the computer's make and model.
Please post more information starting with computer's make and model. Motherboard and case information will be helpful if you are working with a custom rig.