Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As an example for both methods we will use a simple script which will list the content of a folder, filtered by a given filename extension. The parameters are defines in an order like this:

Code Block
 <order <[http://www.sos-berlin.com/doc/en/scheduler.doc/xml/order.xml order]title="Executes the script ListFilesByExtension.ps1">
    <params>
        <param  <[http://www.sos-berlin.com/doc/en/scheduler.doc/xml/param.xml param ]name="Script_Filename"    value="ListFilesByExtension.ps1"/>
        <param  <[http://www.sos-berlin.com/doc/en/scheduler.doc/xml/param.xml param ]name="FolderName"         value="c:\temp"/>
         <param <[http://www.sos-berlin.com/doc/en/scheduler.doc/xml/param.xml param ]name="FileNameExtension"  value=".txt"/> 
    </params>
    <run<[http://www.sos-berlin.com/doc/en/scheduler.doc/xml/run_time.xml run_time ]let_run="no"/>
 </order>

'FolderName' ist the name of the folder which has to be listed and 'FileNameExtension' is the value of the extension which will be selected.

...