Computer program

I am having a problem with the 0 1 program want to turn my computer off and on without power supply