external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
2.0.0 |
Removes a list.
Remove-KshList [-Identity] <List> [<CommonParameters>]
Remove-KshList [-Identity] <List> [-RecycleBin] [<CommonParameters>]
The Remove-KshList cmdlet removes a list from the current site.
PS C:\> Remove-KshList -Identity (Get-KshList -ListTitle 'Announcements')
Removes a list.
PS C:\> Remove-KshList -Identity (Get-KshList -ListTitle 'Announcements') -RecycleBin
Moves a list to the recycle bin.
Specifies the list.
Type: List
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
If specified, moves the item to the recycle bin.
Type: SwitchParameter
Parameter Sets: ParamSet2
Aliases:
Required: True
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.