KIXTART SHUTDOWN() function usage

Posted on 2008-06-13
Medium Priority
Last Modified: 2008-06-15
Kixtart version
The function syntax is well documented and I have decided on this:

$RC = SHUTDOWN(" ", PC will restart in 60 seconds...", 60, 0, 1)

I'm not sure how to execute this $RC variable. After this first line of code would I then
do something like  run $RC?

Also, I want to restart all PCs on the network (265, Win2K and WinXP) at a specific time.
Is this the best approach for that goal? The syntax above will restart the local PC so I might
have to input all the computer names through a variable...

Question by:bstillion
1 Comment
LVL 15

Accepted Solution

Ralf Klatt earned 500 total points
ID: 21785172

Please enter the following code into a batch and execute it:

for each $comp in $comps
    if $comp<>@WKSTA

PS: Snippet found at: http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=120825&site_id=1#import

Best regards,

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Make the most of your online learning experience.
Today, unlike web development, the mobile landscape is complex enough for a software engineer and Android is posing more challenging environment thanks to its fragmentation issues on hardware and software fronts.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question