Module Name | title | schema | applicable | external help file | online version |
---|---|---|---|---|---|
PnP.PowerShell |
Get-PnPView |
2.0.0 |
SharePoint Online |
PnP.PowerShell.dll-Help.xml |
Returns one or all views from a list
Get-PnPView [-List] <ListPipeBind> [-Identity <ViewPipeBind>]
[-Connection <PnPConnection>] [-Includes <String[]>]
Allows to retrieve list of views from a list. By using Identity
option it is possible to retrieve a specific view.
Get-PnPView -List "Demo List"
Returns all views associated from the specified list
Get-PnPView -List "Demo List" -Identity "Demo View"
Returns the view called "Demo View" from the specified list
Get-PnPView -List "Demo List" -Identity "5275148a-6c6c-43d8-999a-d2186989a661"
Returns the view with the specified ID from the specified list
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: PnPConnection
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The ID or name of the view
Type: ViewPipeBind
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The ID or Url of the list.
Type: ListPipeBind
Parameter Sets: (All)
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False