SmartThings turn on/off computer

Create a momentary virtual switch to turn off your PC then use the webserver function of Eventghost: