http://web.archive.org/web/20071017035444/http://www.penguinbyte.com/softwar
e/ezexecute/
 
Dylan Haines
Systems Technical Support Manager

HB Studios Multimedia Ltd.  
Box 725, The Hive
37 Hall Street
Lunenburg, NS  B0J 2C0

Tel:  (902)634-8316 ext. 237
Cell: (902)553-0706
Fax: (902)634-3647

 <blocked::blocked::http://www.hb-studios.com/> www.hb-studios.com
 

  _____  

From: tech-geeks-boun...@tech-geeks.org
[mailto:tech-geeks-boun...@tech-geeks.org] On Behalf Of McKay, Curtis
Sent: Wednesday, September 29, 2010 11:36 AM
To: 'Tech-Geeks Mailing List'
Subject: Re: [tech-geeks] shutdown script



For you guys out there that use psexec, which I do too, ez-execute is a
great gui tool to run over the top:

http://www.ez-execute.com-about.com/download.html

 

It even has built in support for Netbeui name scanning.  So I'll go in a lab
where all the machines are BWB232-xx and tell it to scan for BWB232 so I get
a list of all machines and then just click select all.

 

Curtis McKay

Network Administrator

Belleville Township High School District 201

cmc...@bths201.org

 

From: tech-geeks-boun...@tech-geeks.org
[mailto:tech-geeks-boun...@tech-geeks.org] On Behalf Of Dylan Haines
Sent: Wednesday, September 29, 2010 9:32 AM
To: 'Tech-Geeks Mailing List'
Subject: Re: [tech-geeks] shutdown script

 

psexec will take a list of PCs - I used variables to read in a list of PC
names, and then run whatever command I wanted - install programs, kill
processes etc.

 

Something like this, where computers.txt is a list of PCs:

 

@echo off

set ADMIN=my-admin-user
set PASS=my-admin-user-password

FOR /F %%X IN (computers.txt) DO (
     psexec %%X -u %ADMIN% -p %PASS% taskkill /F /IM process-to-kill.exe 
     )

 

 

 

 

Dylan Haines
Systems Technical Support Manager

HB Studios Multimedia Ltd.  
Box 725, The Hive
37 Hall Street
Lunenburg, NS  B0J 2C0

Tel:  (902)634-8316 ext. 237
Cell: (902)553-0706
Fax: (902)634-3647

 <blocked::blocked::http://www.hb-studios.com/> www.hb-studios.com

 

 

  _____  

From: tech-geeks-boun...@tech-geeks.org
[mailto:tech-geeks-boun...@tech-geeks.org] On Behalf Of Smeltzer, Matt
Sent: Wednesday, September 29, 2010 11:26 AM
To: tech-geeks@tech-geeks.org
Subject: [tech-geeks] shutdown script

Anyone have a script or run by or have any ideas how I can pump a script out
to machines listed in txt file to shut them down everyday at 6pm. this
script can run from a master computer and run everynight that is fine.. but
it has to give the option to cancel or to shutdown only the specified
computers at 6pm.

 

Thanks

 

Matt

 

 

--------------------------------------------

Matt Smeltzer - CNA 5.1, Net+

Network Specialist

Halifax Regional School Board

msmelt...@hrsb.ns.ca

(902) 464-2000 ext 2280

 

| Subscription info at http://www.tech-geeks.org |

Reply via email to