| external help file | SPClientCore.dll-Help.xml |
|---|---|
| Module Name | SPClientCore |
| online version | |
| schema | 2.0.0 |
Retrieves one or more lists.
Get-KshList [-Identity] <List> [<CommonParameters>]
Get-KshList [-ListItem] <ListItem> [<CommonParameters>]
Get-KshList [-View] <View> [<CommonParameters>]
Get-KshList [-ListId] <Guid> [<CommonParameters>]
Get-KshList [-ListUrl] <Uri> [<CommonParameters>]
Get-KshList [-ListTitle] <String> [<CommonParameters>]
Get-KshList [-LibraryType] <LibraryType> [<CommonParameters>]
Get-KshList [-NoEnumerate] [<CommonParameters>]
The Get-KshList cmdlet retrieves lists of the current site.
PS C:\> Get-KshList -ListItem Get-KshListItem -List (Get-KshList -ListTitle 'Announcements') -ItemId 1Retrieves a parent list of the list item.
PS C:\> Get-KshList -ListId 'a01f8e07-290f-4644-9db8-85bb00b85e74'Retrieves a list by list ID.
PS C:\> Get-KshList -ListUrl '/sites/japan/hr/Announcements'Retrieves a list by list URL.
PS C:\> Get-KshList -ListTitle 'Announcements'Retrieves a list by list title.
PS C:\> Get-KshList -LibraryType 'SitePages'Retrieves a list by library type.
PS C:\> Get-KshListRetrieves all lists.
Specifies the list.
Type: List
Parameter Sets: ParamSet1
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseSpecifies the library type.
Type: LibraryType
Parameter Sets: ParamSet7
Aliases:
Accepted values: SitePages, ClientRenderedSitePages, SiteAssets
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the list ID.
Type: Guid
Parameter Sets: ParamSet4
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the list item.
Type: ListItem
Parameter Sets: ParamSet2
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseSpecifies the list title.
Type: String
Parameter Sets: ParamSet6
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the list URL.
Type: Uri
Parameter Sets: ParamSet5
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIf specified, suppresses to enumerate objects.
Type: SwitchParameter
Parameter Sets: ParamSet8
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the view.
Type: View
Parameter Sets: ParamSet3
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.