Shutting down Android phone from PC
You can do this with adb (Android Debug Bridge).


Enable "USB Debugging" on the phone (Settings > Applications > Development > USB Debugging)
Type adb reboot in a terminal in the directory where you installed adb platform-tools