Interesting prop search recursion#571
Merged
stephenegriffin merged 6 commits intomainfrom Mar 29, 2023
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a new -recurse switch to allow an interesting prop search to recurse folders and search down the tree.
For example, this command:
mrmapi -Contents -Folder "@" -recurse -findn PidLidReminderPlaySound PidLidReminderFileParameter
Starts at the root of the message store ("@") and searches every folder underneath it.
Note - many of the folders in a message store are search folders, like the Reminders folder, which don't technically contain any messages but rather contain search results for messages. We don't make any effort to distinguish between the types of folders when doing this recursion, so a message which is in the scope of a search folder may be "found" multiple times. It will appear to live in the folder it actually lives in, as well as any search folder for which it is in scope and matches the criteria.