external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
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 1
Retrieves 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-KshList
Retrieves 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: False
Specifies 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: False
Specifies the list ID.
Type: Guid
Parameter Sets: ParamSet4
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the list item.
Type: ListItem
Parameter Sets: ParamSet2
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the list title.
Type: String
Parameter Sets: ParamSet6
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the list URL.
Type: Uri
Parameter Sets: ParamSet5
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: ParamSet8
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the view.
Type: View
Parameter Sets: ParamSet3
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
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.