Look in the BIOS. There should be a setting "Power On after power failure"
Select Allow, or Enable. DONE
Let us know your specs and we can try to make a better idea. Power switches are momentary switches, so there isn't a way to easily do this except the BIOS setting. Again, give us some specs and we can go from there on finding what to do.