Using the ModifyArray Command To modify a SonicWALL parameter setting, use the ModifyArray command. sgms> modifyarray xml_file NOTE: For information on creating a configuration file, see Preparing a Parameter Modification File on page 1118. Syntax Table 108. Syntax xml_file The XML file that contains configuration instructions. Usage Guidelines When this command is entered, Dell SonicWALL GMS does the following: • Checks whether the command is entered with the correct parameters. • If the command is not entered correctly, it returns the correct form of the command. • Checks the validity of the XML file. • Executes the command. • Closes the session and exits. Example In the following example, the value of the secondary phone number is changed to the number specified in the primary phone number field and the primary phone number is changed to 800-555-1212. sgms> modifyarray modify.xml The following is the content of modify.xml. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE Configure (View Source for full doctype...)> : <Configure> : <Task displayname="root" viewname="AGENTCompany" description="Modify SP Profiles" arraytable: name="SW_PROFILES" indidxcolumnname="dialupProfileInUse_0"> : <ArrayIndexColumnName paramName="dialConfigName" /> : <ModParam paramName="secPhone" paramValue="%priPhone%" /> : <ModParam paramName="priPhone" paramValue="[18005551212]" /> : </Task> : </Configure>