Submitted By: Bruce Walton
This script logs off, shuts down, reboots, or powers off (depending on the selection) the computers listed in the Server array. The script prompts the user for the action they want to take, and demonstrates how to use WMI to remotely manage computers.