Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Patch uninstallation
- Uninstallation flags
- Uninstall a Windows patch
- Set uninstall options
- Set reboot options for a Windows patch installation
- Specify install scripts for a Windows patch uninstallation
- Schedule a Windows patch uninstallation
- Set up email notifications for a Windows patch uninstallation
- Preview and starting a Windows patch uninstallation
- View job progress of a patch uninstallation
Specify install scripts for a Windows patch uninstallation
For each patch, you can specify a command or script to run before uninstallation or after uninstallation. A pre-uninstall script, for example, could check a certain condition on the managed server. If the condition is not met or if the pre-uninstall script fails, the patch would not be removed from a server. A pre-uninstall script could also be used to shut down a service or application before it is removed from a server. A post‑uninstall script could be used to perform a certain cleanup process on the managed server.
You can specify the following types of scripts to run on the managed server before or after a patch uninstallation:
- Pre-Uninstall: A script that runs before the patch is removed from a managed server.
- Post-Uninstall: A script that runs after the patch is removed from a managed server.
To specify a script:
-
From the Uninstall Patch window, click Next to advance to the Pre & Post Actions step.
-
Select the Pre-Uninstall or Post-Uninstall tab.
You may specify different scripts and options on each of the tabs.
-
Select Enable Script.
This option enables the remainder of the fields on the tab. If Enable Script is not selected, the script will not run.
-
Select either Saved Script or Ad-Hoc Script.
A Saved Script has been previously stored in Server Automation with the SA Client. To specify the script, click Select.
An Ad-Hoc script runs only for this operation and is not saved in Server Automation. Select the Type, such as .bat. In the Script box, enter the contents of the script, including the drive letter of where the script is located, such as
echo dir>> C:\temp\preinstall1.log
. If you do not enter a drive letter, the default is %SYSTEMDRIVE%, which is where the system folder of Windows is installed. -
If the script requires command-line flags, enter the flags in Commands.
-
Specify the information in the User section. The script will be run by this user on the managed server.
-
To stop the uninstallation if the script returns an error, select Error.
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to hpe_sa_docs@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: