Get-SPOList

Synopsis

Gets a list by either Title or Id

Syntax

Get-SPOList -Web <Web> [-Id <String>] [-Title <String>] [<CommonParameters>]

Description

Parameters

-Web <Web>

The web where the list exists

Required? True
Position? named
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-Id <String>

The Id of the list. If this is specified it will be used instead of Title.

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Title <String>

Title of the list. Will be overridden by Id if Id is specified.

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Notes

Examples

Get List by Id

PS C:\> Get-SPOList -Web $ctx.Web -Id "FEB61E46-7891-469C-B2B0-6FFC7ECCA39A"

Get List by Title

PS C:\> Get-SPOList -Web $ctx.Web -Title "My List"

Related links

Last edited Aug 5, 2014 at 12:06 AM by provokesolutions, version 9

Comments

No comments yet.