These profile files can be specified by using the DS CLI command parameter -cfg < profile_name > . If the -cfg  file is not specified, the default profile of the user is used. If a profile of a user does not exist, the system default profile is used. 

Two default profiles:  If two default profiles are called dscli.profile , one profile in the default system’s directory and one profile in your personal directory, your personal profile is loaded. 

## Profile change illustration 

Complete the following steps to edit the profile. This sequence assumes that your %userprofile%  is C:\Users\Administrator. 

1. Use Windows Explorer to copy the profile folder from C:\Program Files (x86)\IBM\dscli to C:\Users\Administrator\dscli . 

2. From the Windows desktop, double-click the DS CLI icon. 

3. In the command window that opens, enter the following command: cd C:\Users\Administrator\dscli\ 

4. In the profile directory, enter the notepad dscli.profile  command, as shown in Example 12-16. 

C:\Users\Administrator\dscli> cd profile C:\Users\Administrator\dscli\profile> notepad dscli.profile 

5. The notepad opens and includes the DS CLI profile. Consider adding four lines. Examples of these lines are shown in bold in Example 12-17. 

Default newline delimiter:  The default newline delimiter is a UNIX delimiter, which can render text in the notepad as one long line. Use a text editor that correctly interprets UNIX line endings. 

# # DS CLI Profile # # Management Console/Node IP Address(es) # hmc1 and hmc2 are equivalent to -hmc1 and -hmc2 command options. #hmc1:127.0.0.1 #hmc2:127.0.0.1 # Default target Storage Image ID # "devid" and "remotedevid" are equivalent to # "-dev storage_image_ID" and "-remotedev storeage_image_ID" command options, respectively. #devid: IBM.2107-AZ12341 #remotedevid:IBM.2107-AZ12341 devid: IBM.2107-75HAL90 hmc1: 10.0.0.1 username: admin pwfile: c:\mydir\75HAL90\pwfile.txt 

