首页 > 解决方案 > 添加列时在命令命令控制台中隐藏字段属性

问题描述

我正在制作一个 PowerShell 脚本,它创建一个列表,添加列,后跟来自 CSV 的数据。完成脚本后,我们的负责人告诉我,每次添加列时,我都必须摆脱控制台上打印的字段属性。

 CanBeDeleted                : 
 DefaultValue                : 
 Description                 : 
 Direction                   : 
 EnforceUniqueValues         : 
 EntityPropertyName          : 
 Filterable                  : 
 FromBaseType                : 
 Group                       : 
 Hidden                      : 
 Id                          : 
 Indexed                     : 
 InternalName                : 
 JSLink                      : 
 ReadOnlyField               : 
 Required                    : 
 SchemaXml                   : 
 SchemaXmlWithResourceTokens : 
 Scope                       : 
 Sealed                      : 
 Sortable                    : 
 StaticName                  : 
 Title                       : 
 FieldTypeKind               : 
 TypeAsString                : 
 TypeDisplayName             : 
 TypeShortDescription        : 
 ValidationFormula           : 
 ValidationMessage           : 
 Context                     : Microsoft.SharePoint.Client.ClientContext
 Tag                         : 
 Path                        : Microsoft.SharePoint.Client.ObjectPathMethod
 ObjectVersion               : 
 ServerObjectIsNull          : 
 TypedObject                 : Microsoft.SharePoint.Client.Field

我一直在网上寻找资源,但我似乎无法弄清楚要问的正确问题。谢谢!

标签: powershellsharepointsharepoint-online

解决方案


推荐阅读