Skip to main content

QueryResultFilter

Properties

NameTypeDescriptionNotes
Includes[]StringThe list of field names to include in the result documents.[optional]
Excludes[]StringThe list of field names to exclude from the result documents.[optional]

Examples

  • Prepare the resource
$QueryResultFilter = Initialize-QueryResultFilter  -Includes ["name","displayName"] `
-Excludes ["stacktrace"]
  • Convert the resource to JSON
$QueryResultFilter | ConvertTo-JSON

[Back to top]