Skip to content

Latest commit

 

History

History
104 lines (75 loc) · 2 KB

Measure-PnPList.md

File metadata and controls

104 lines (75 loc) · 2 KB
Module Name title schema applicable external help file online version
PnP.PowerShell
Measure-PnPList
2.0.0
SharePoint Online
PnP.PowerShell.dll-Help.xml

Measure-PnPList

SYNOPSIS

Returns statistics on the list object. This may fail on lists larger than the list view threshold

SYNTAX

Measure-PnPList [-Identity] <ListPipeBind> [-ItemLevel] [-BrokenPermissions] 
 [-Connection <PnPConnection>] [-Includes <String[]>] 

DESCRIPTION

Allows to retrieve statistics on specified list. The command may fail on lists larger than the list view threshold.

EXAMPLES

EXAMPLE 1

Measure-PnPList "Documents"

Gets statistics on Documents document library

EXAMPLE 2

Measure-PnPList "Documents" -BrokenPermissions -ItemLevel

Displays items and folders with broken permissions inside Documents library

PARAMETERS

-BrokenPermissions

Show items with broken permissions

Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Connection

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

-Identity

Type: ListPipeBind
Parameter Sets: (All)

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-ItemLevel

Show item level statistics

Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

RELATED LINKS

Microsoft 365 Patterns and Practices