does anybody know how to shutdown or restart the pc with code.

thanks.