HP Scripting Tools for Windows PowerShell User Guide: OA cmdlets

2. Execute the appropriate command interactively to retrieve the data.
3. After viewing the command results, decide what part of the object you are interested in.
4. Determine OAs or other sources of information that will drive the process.
5. Create the main processing loop.
6. Summarize or output the data in the desired format.
If there are many steps, repeat the process until all of the requirements of the data collection or
setting have been completed.
Previous examples used Find-HPOA to locate OAs to connect to. You may want to use other data
sources such as .CSV files, .XML files, or databases to store and retrieve data to use for OAs and
their usernames and passwords. These may need to be encrypted for security purposes. Encrypted
storage and data use is beyond the scope of this document. It is not a recommended practice to
embed passwords in scripts; instead they can be prompted for by omitting them as a parameter.
You must be cognizant of your organizations security policies and code accordingly.
20 HP Scripting Tools for Windows PowerShell cmdlets