Skip to main content

TextQuery

Properties

NameTypeDescriptionNotes
Terms[]StringWords or characters that specify a particular thing to be searched for.[required]
Fields[]StringThe fields to be searched.[required]
MatchAnyBooleanIndicates that at least one of the terms must be found in the specified fields; otherwise, all terms must be found.[optional] [default to $false]
ContainsBooleanIndicates that the terms can be located anywhere in the specified fields; otherwise, the fields must begin with the terms.[optional] [default to $false]

Examples

  • Prepare the resource
$TextQuery = Initialize-PSSailpoint.V2024TextQuery  -Terms [The quick brown fox, 3141592, 7] `
-Fields [displayName, employeeNumber, roleCount] `
-MatchAny false `
-Contains true
  • Convert the resource to JSON
$TextQuery | ConvertTo-JSON

[Back to top]