Environment Manager powered by AppSense
Environment Manager configurations can be searched using text strings and regular expressions. The whole of the navigation tree can be searched or individual areas, such as a node or a trigger, can be targeted. Searches include all nodes, child nodes, conditions and actions in a configuration or within the selected area.
Find and Replace could be used, for example, to change the name of a server throughout the configuration, to amend the IP address of a particular endpoint or just to find where in a configuration a particular registry key is referenced.
Perform a Find and Replace
In the Edit ribbon, select Find and Replace.
The Find and Replace dialog displays. If you want to target the search, select the required area of the configuration prior to opening the dialog. In the example below, the Computer\Process Started trigger was selected. This can be changed in the dialog as explained in step 4.
- In the Find field, enter the text to search for or the regular expression you want to use for the search.
- In the In field, define which elements of the configuration you want to search - Actions, Conditions, Nodes and/or Reusable Nodes.
- Check that the Where
field shows the path to the area of the configuration you want to search.
If the path is incorrect:
- Amend the path manually
- Delete the path to search the whole configuration
- Select a previously searched path from the drop-down
- In the Replace with field, enter the replacement text. If you are performing a search, this field can be left blank.
- Configure the find
options by selecting any combination of the check boxes:
- Match Case - Search for only those items which match the capitalization of the text in the Find text
- Match Whole Word - Search for only those items which match the whole word in the Find field.
- Use Regular Expressions - Return any items which match the regular expression entered in the Find field.
- Click Find to display all items that match your search criteria.
The search results list any item which matches the query and show where the item is found in the configuration.
In the example below, the user has searched for "CurrentVersion". The search results include the registry key "Software\Microsoft\Windows\CurrentVersion\Explorer". This registry key is referenced in actions found in two different triggers in the configuration. The path to each of the actions is displayed beneath the match.
Select a path to automatically navigate to that area of the configuration. To move to the next match, click Find Next.
If you want to replace text, select the required match and click Replace - to replace all matches click Replace All.
You can redefine a search at any time by updating the criteria and clicking Find to update the results. For example, you restrict your search to Conditions or focus the search on another area of the configuration.
Was this article useful?
The topic was:
Not what I expected
Copyright © 2017, Ivanti. All rights reserved.