2 Replies Latest reply on Nov 19, 2008 11:18 AM by DLarson

    how to use the script tool

      How can i use the script tool to execute the commands,xmls?
      please post some examples
        • 1. RE: how to use the script tool
          There are plenty of examples on the Tools CD - just download it from the same place you got your product CD.
          • 2. RE: how to use the script tool
            Here is an example XML script from the Tools CD. This shows the CreateUser command, which can be used to create user objects in the database. All commands and further details on the API interfaces can be found in the SBADMCL Scripting Guide PDF that comes in the Documents directory of every release.

            <SafeBoot>
            <SbAdminScripting>
            <SbAdminConnection>
            <ConnectionType>Transient</ConnectionType>
            <Database>SafeBoot Administration Database</Database>
            <AuthType>UserNamePassword</AuthType>
            <AdminUser>sbadmin</AdminUser>
            <AdminPwd>12345</AdminPwd>
            </SbAdminConnection>
            <SbAdminCommand>
            <Command>CreateUser</Command>
            <User>temp</User>
            <Group>Safeboot Users</Group>
            <CommandRef>my_reference_string</CommandRef>
            <ResultCode>0x00000000</ResultCode>
            <ResultDescription>Success</ResultDescription>
            </SbAdminCommand>
            </SbAdminScripting>
            </SafeBoot>