문제

When I use Get-PnPField It just output Title, InternalName and ID. I'd like to output ColumnType, DefaultValue, Choices etc..

If anyone knows, could you give me an idea? Thank you very much.

도움이 되었습니까?

해결책

The return value of Get-PnPField is Microsoft.SharePoint.Client.Field.

We could get the default value and column type this way:

$field=Get-PnPField -List "test" -Identity "cks"
$field.DefaultValue
$field.SchemaXml

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top