Skip to content

Latest commit

 

History

History
131 lines (97 loc) · 2.98 KB

Get-KshContentTypeColumn.md

File metadata and controls

131 lines (97 loc) · 2.98 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Get-KshContentTypeColumn

SYNOPSIS

Retrieves one or more content type columns.

SYNTAX

ParamSet1

Get-KshContentTypeColumn [-Identity] <ContentTypeColumn> [<CommonParameters>]

ParamSet2

Get-KshContentTypeColumn [-ContentType] <ContentType> [-Column] <Column> [<CommonParameters>]

ParamSet3

Get-KshContentTypeColumn [-ContentType] <ContentType> [-NoEnumerate] [<CommonParameters>]

DESCRIPTION

The Get-KshContentTypeColumn cmdlet retrieves content type columns of the specified content type.

EXAMPLES

Example 1

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.

Example 2

PS C:\> Get-KshContentTypeColumn -ContentType (Get-KshContentType -List (Get-KshList -ListTitle 'Announcements') -ContentTypeId '0x0100EFB1758564C77D448177233D1199B912000A210B1C5CBC634C849328008B1CC306')

Retrieves all content type columns of the list content type.

Example 3

PS C:\> Get-KshContentTypeColumn -ContentType (Get-KshContentType -ContentTypeId '0x0100EFB1758564C77D448177233D1199B912')

Retrieves all content type columns of the site content type.

PARAMETERS

-Column

Specifies the column.

Type: Column
Parameter Sets: ParamSet2
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ContentType

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

-Identity

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

-NoEnumerate

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Karamem0.SharePoint.PowerShell.Models.V1.ContentTypeColumn

OUTPUTS

Karamem0.SharePoint.PowerShell.Models.V1.ContentTypeColumn

NOTES

RELATED LINKS