Reboot a Remote Computer (VB Script/WMI)
Version Compatibility: Visual Basic Script
This script reboots a (remote) computer. It uses WMI to accomplish this. Check out http://www.activxperts.com for more samples, components and tools
Instructions: Copy the declarations and code below and paste directly into your VB project.