Stop

Reference:        Script Editor Program
                        Alphabetical Command List 

                        Topical Command List

Open Syntax Window

This command stops execution of the script.  It may be used anywhere in a script, although the effect varies depending on the scope of the block in which it is placed.  When used outside of a conditional block, the Stop command simply halts the script.  This can be useful when testing a script to prevent later portions from running until earlier portions are working correctly.  The same effect is realized when you use a Stop within an All_Servers conditional block (the default).

When placed within an Each_Server conditional, the Stop command stops operation only for the particular server being processed.  Other servers will proceed normally through the remainder of the script.  Again, it can be useful to employ stop commands as an aid in testing.

There is no command form associated with this command.  It is simply inserted directly into the script.