quiet_tree
asked on
Shutting down workstations remotely and getting a report for success and failures
We've used shutdown.exe and BeyondExec with Windows Task Scheduler to shutdown workstations remotely. It doesn't always work, and in some cases machines get turned on afterwards for those buring the midnight oil. Does anyone out there know of a utility or trick that will shut down workstations remotely and provide a report about it's successes and failures to do so?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Interesting.
The beyondexec software allows users to cancel the shutdown process. This feature is important to end-users. Does psshutdown have this feature?
The beyondexec software allows users to cancel the shutdown process. This feature is important to end-users. Does psshutdown have this feature?
Yes it does. With the -c switch, you can allow the shutdown to be aborted by the interactive user.
ASKER
What does the following line in your script do:
now >> R:\Utility\Logs\Shutdown.l og
now >> R:\Utility\Logs\Shutdown.l
The now statement captures the time and date that the command is executing; which in this case means what time the shutdown command is being sent. If at a command prompt you type "now /?" you will get an explanation.
2) best language -> powershell but you can chose any scripting language that you are familliar
3) if there is a machine that is doing not shutdown, but it reboots -> then you have to troubleshoot bios settings...
hope that helps...