Re: Script: Remote shutdown of all domain computers
- From: Jason Gurtz <jasonNOgurtz@xxxxxxxxxxxxxxx>
- Date: Mon, 27 Mar 2006 14:24:29 -0500
Joris van der Struijk wrote:
We realy need a script to automaticaly and remotly shutdown all of our 300
WXP SP2 client PC's in our domain located in the OU: Hosts.
You don't have too many computers so maybe you can use another way...
Go to sysinternals.com and grab the psutils suite. That includes the
util psshutdown.exe which can act on all hosts in a file.
To create that file just do net view > machines.txt and then edit it in
notepad, removing the leading "\\" from the names you want.
Then all you do is `psshutdown [-flags] @machines.txt` and it will go.
Type psshutdown -? to see all the options (not too many). You can
create different txt files containing servers, workstations, etc... to
use with various utils.
~Jason
--
.
- References:
- Script: Remote shutdown of all domain computers
- From: Joris van der Struijk
- Script: Remote shutdown of all domain computers
- Prev by Date: Re: Need Help. Beginner in Scripting
- Next by Date: Re: Pulling Domain Information Into A VB Script
- Previous by thread: Re: Script: Remote shutdown of all domain computers
- Next by thread: Re: Create scheduled task for defrag
- Index(es):
Relevant Pages
|