Would it be possible to allow multiple SearchType, SearchValue, SearchField tripples to be specified in the arguments to Search-GlpiToolsItems, allowing more comples searches to be built up. By default these could be linked by an AND criteria.
As you can see, their is an almost 1 to 1 positional match between parameters to Search-GlpiToolsItems and search criteria items, which could allow the API search url parameters to be build up relatively easily
Would it be possible to allow multiple SearchType, SearchValue, SearchField tripples to be specified in the arguments to Search-GlpiToolsItems, allowing more comples searches to be built up. By default these could be linked by an AND criteria.
So for example
would do a search like
Could also go to more complex searches by allowing use of additional parameters
-sAND
(search AND) and-sOR
(search OR) as follows:would do a search like
As you can see, their is an almost 1 to 1 positional match between parameters to
Search-GlpiToolsItems
and search criteria items, which could allow the API search url parameters to be build up relatively easily