Question Locked

Automated Shutdown of computers in an OU

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am looking for a more efficient way to automate computer shutdowns specific times of day. Currently I am using psshutdown with at batch file that will run in the system scheduled tasks at the necessary time. However I continually have to update the file as we add or loose staff members. I am looking for a better way to do this. My current train of though is to write a batch file that will create a list of all the computers in an OU using DSQUERY, then have PSSHUTDOWN look at that list for the computers it needs to shutdown.

One small snag in the plan?the list DSQUEY exports has quotes (?computerName?) around the computer names, there for PSSHUTDOWN can not ?Find? that computer on the network.

Has anyone come up with an effective way to pull this off?

2 replies

by bfilmfan

Use a third-party power management software program and agent to shut systems down at the programmed time.

There are tons of them out there, so just google to compare prices and features.

This discussion is closed to new replies.