external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
2.0.0 |
Retrieves one or more content type columns.
Get-KshContentTypeColumn [-Identity] <ContentTypeColumn> [<CommonParameters>]
Get-KshContentTypeColumn [-ContentType] <ContentType> [-Column] <Column> [<CommonParameters>]
Get-KshContentTypeColumn [-ContentType] <ContentType> [-NoEnumerate] [<CommonParameters>]
The Get-KshContentTypeColumn cmdlet retrieves content type columns of the specified content type.
PS C:\> Get-KshContentTypeColumn -ContentType (Get-KshContentType -ContentTypeId '0x0100EFB1758564C77D448177233D1199B912') -Column (Get-KshColumn -ColumnId '35aa78a6-66d7-472c-ab6b-d534193842af')
Retrieves a content type column by column.
PS C:\> Get-KshContentTypeColumn -ContentType (Get-KshContentType -List (Get-KshList -ListTitle 'Announcements') -ContentTypeId '0x0100EFB1758564C77D448177233D1199B912000A210B1C5CBC634C849328008B1CC306')
Retrieves all content type columns of the list content type.
PS C:\> Get-KshContentTypeColumn -ContentType (Get-KshContentType -ContentTypeId '0x0100EFB1758564C77D448177233D1199B912')
Retrieves all content type columns of the site content type.
Specifies the column.
Type: Column
Parameter Sets: ParamSet2
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the content type.
Type: ContentType
Parameter Sets: ParamSet2, ParamSet3
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the content type column.
Type: ContentTypeColumn
Parameter Sets: ParamSet1
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
If specified, suppresses to enumerate objects.
Type: SwitchParameter
Parameter Sets: ParamSet3
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.