IncludeLookupDisplayValueColumns Parameter (Connect-SharePoint Cmdlet)
Specifies whether the provider includes display value columns for lookup fields in query results when using the REST schema.
Syntax
Connect-SharePoint -IncludeLookupDisplayValueColumns SwitchParameter
Data Type
bool
Default Value
false
Remarks
In the REST schema, lookup columns by default return only the record identifiers that reference data from other lists. For example:
MultiLookUpColumn=1, 2When IncludeLookupDisplayValueColumns is set to true, the cmdlet includes an additional column for each lookup field with a _DisplayValue suffix. This column shows the human-readable values associated with each lookup ID. For example:
MultiLookUpColumn = 1, 2 MultiLookUpColumn_DisplayValue = United States, United Kingdom
This property is useful for making query results more readable and eliminating the need to perform manual lookups to resolve IDs to display values.