Table of contents
TOC
Collapse the table of content
Expand the table of content

Remove-PnPView

Bert Jansen|Last Updated: 2/20/2017
|
1 Contributor

Deletes a view from a list

Syntax

Remove-PnPView -Identity <ViewPipeBind>
               -List <ListPipeBind>
               [-Force [<SwitchParameter>]]
               [-Web <WebPipeBind>]

Parameters

ParameterTypeRequiredDescription
IdentityViewPipeBindTrueThe ID or Title of the view.
ListListPipeBindTrueThe ID or Url of the list.
ForceSwitchParameterFalseSpecifying the Force parameter will skip the confirmation question.
WebWebPipeBindFalseThe web to apply the command to. Omit this parameter to use the current web.

Examples

Example 1

PS:> Remove-PnPView -List "Demo List" -Identity "All Items"

Removes the view with title "All Items" from the "Demo List" list.

© 2017 Microsoft