Use > Server Automation > Executing scripts > Managing scripts > Editing script properties

Editing script properties

After you create a script, you can view and modify its properties. You can view properties such as the SA user who created the script, the date when it was created, and the Object ID of the script. You can also modify the name, description, contents, the Library folder location of the script and the script options.

To view and edit script properties:

  1. Open a script in the SA Client. See Opening a script in SA Client for ways to open a script. The Script window appears.
  2. In the Name field, edit the name of the script.
  3. Click Select to change the location for the script in the folder hierarchy. The Select Folder window appears. Select a folder in the Library to specify the location of the script and then click Select.
  4. In the Changes Server field, select Yes, if the script causes a change in the server configuration when executed.
  5. In the Run as Super User field, select yes if the script can be run as a Super User when executed. Selecting yes, allows you to run the script as a Super User without providing a password for the script.

    This option is enabled only if you have the appropriate permission. See the SA 10.50 Administration Guide for more information about script execution permissions.
  6. In the Script Contents field, edit the contents of the script or click Import Script File to import another script. In the Open window, select the script to import and then click Open.

    If you import a script that uses Unicode (UTF8) encoding and your computer's regional language settings are set to English, and then you export the script and attempt to execute it, you may encounter errors because Unicode (UTF8) encoding may add a . or other special character at the beginning of the script. If this occurs, simply edit the script to remove the extraneous characters.
  7. In the Description field, edit the text that describes the purpose or contents of the script.
  8. To save the changes, select Save from the File menu.