UseDisplayNames Parameter (Connect-SharePoint Cmdlet)
Specifies whether the provider uses column display names instead of API names in metadata and query results.
Syntax
Connect-SharePoint -UseDisplayNames bool
Data Type
bool
Default Value
true
Remarks
The UseDisplayNames property determines how column names are presented in metadata and query results.
When set to true, the cmdlet uses the display names shown in the Microsoft SharePoint UI, making queries and results more user-friendly and readable.
When set to false, the cmdlet uses the internal API names for columns, which may be less descriptive but more consistent for programmatic use.
This property applies to both the SOAP and REST schemas and is useful for aligning result sets with familiar column labels seen in the Microsoft SharePoint interface or for simplifying integration with external applications that rely on known display names.
Additional Information
Using display names can improve readability, but may introduce slight overhead during metadata retrieval, as display names must be resolved and mapped from API names. Using API names can streamline metadata processing and reduce complexity in environments where consistent field naming is preferred.