external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
2.0.0 |
Retrieves one or more columns.
Get-KshColumn [-Identity] <Column> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-KshColumn [-ContentType] <ContentType> [-ColumnId] <Guid> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Get-KshColumn [-ContentType] <ContentType> [-ColumnTitle] <String> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Get-KshColumn [-ContentType] <ContentType> [-NoEnumerate] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Get-KshColumn [-List] <List> [-ColumnId] <Guid> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-KshColumn [-List] <List> [-ColumnTitle] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-KshColumn [-List] <List> [-NoEnumerate] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-KshColumn [-ColumnId] <Guid> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-KshColumn [-ColumnTitle] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-KshColumn [-NoEnumerate] [-ProgressAction <ActionPreference>] [<CommonParameters>]
The Get-KshColumn cmdlet retrieves columns of the current site or the specified content type.
PS C:\> Get-KshColumn -ColumnId '35aa78a6-66d7-472c-ab6b-d534193842af'
Retrieves a column by column ID.
PS C:\> Get-KshColumn -ColumnTitle 'Remarks'
Retrieves a column by column title.
PS C:\> Get-KshColumn -ContentType (Get-KshContentType -List (Get-KshList -ListTitle 'Announcements') -ContentTypeId '0x0100EFB1758564C77D448177233D1199B912000A210B1C5CBC634C849328008B1CC306')
Retrieves all columns of the list content type.
PS C:\> Get-KshColumn -ContentType (Get-KshContentType -ContentTypeId '0x0100EFB1758564C77D448177233D1199B912')
Retrieves all columns of the site content type.
PS C:\> Get-KshColumn -List (Get-KshList -ListTitle 'Announcements')
Retrieves all columns of the list.
PS C:\> Get-KshColumn
Retrieves all columns of the current site.
Specifies the column ID.
Type: Guid
Parameter Sets: ParamSet2, ParamSet5, ParamSet8
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the column title.
Type: String
Parameter Sets: ParamSet3, ParamSet6, ParamSet9
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, ParamSet4
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the column.
Type: Column
Parameter Sets: ParamSet1
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the list.
Type: List
Parameter Sets: ParamSet5, ParamSet6, ParamSet7
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If specified, suppresses to enumerate objects.
Type: SwitchParameter
Parameter Sets: ParamSet4, ParamSet7, ParamSet10
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider.
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
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.