Honestly, momentary switches are the simplest of all circuits. The only hard part will be soldering a new one into the old leads. What laptop is it? I can look and see what I think.
I did a quick look and it doesn’t look like the switch is directly on the motherboard so most likely there’s a JST plug or something similar with wire leads that then hook into the switch and/or a daughter board. If it’s just two wires into a JST plug you can replace the switch with anything similar or if you wanna be ghetto about it just touch the two wires together to make a short.
You can probably get the exact switch if you look hard enough since almost everything but the exterior shell will be commodity components.
Good luck!
I ordered a keyboard replacement. This thing is a serious pain. The power switch is directly part of the keyboard. Under that button is nothing but silver paint for the contacts, which had firmed a crack over time.
The worst part? Above the keyboard is a thin piece of sheet metal. It is “riveted” on by melting a fee dozen plastic standoff that affixed the metal piece by melting the tips of them. I spent an hour carefully popping them off with a screwdriver. The replacement keyboard fits (good news!), but I have to carefully use a soldering iron to melt the tops of these pieces back into “rivets.”
On the plus side, I have upgraded the RAM and added a hard drive. If it POSTs at the end of this, I will have 16gb of RAM and a 4 to add, which will let me ditch the external drive.