Skip to main content

SearchCriteriaTextQuery

Properties

NameTypeDescriptionNotes
Terms[]StringTerms to search for.[optional]
Fields[]StringFields to search within.[optional]
MatchAnyBooleanWhether to match any of the terms.[optional] [default to $false]

Examples

  • Prepare the resource
$SearchCriteriaTextQuery = Initialize-V2025SearchCriteriaTextQuery  -Terms [admin, user] `
-Fields [role, name] `
-MatchAny true
  • Convert the resource to JSON
$SearchCriteriaTextQuery | ConvertTo-JSON

[Back to top]