Get-SPOWebPart

Gets a web part or list of web parts from a web part page or wiki page.

Get-SPOWebPart [-Title [<String>]]

Parameters

1

ParameterRequiredTypeDescription
TitleFalseString

The title of the web part to add.

Detailed Description

Gets a web part or list of web parts from a web part page or wiki page.

Copyright 2016 Falchion Consulting, LLC

> For more information on this cmdlet and others:

> http://blog.falchionconsulting.com/

> Use of this cmdlet is at your own risk.

> Gary Lapointe assumes no liability.

Examples

------------------EXAMPLE 1-----------------------

PS C:\> Add-SPOWebPart -Web "/" -File "/sitepages/home.aspx" -WebPart "c:\announcements.webpart" -Row 1 -Column 1 -AddSpace

This example adds an announcements web part to the home.aspx wiki page located in the root web of the root site collection.

------------------EXAMPLE 2-----------------------

PS C:\> Add-SPOWebPart -Web "/" -File "/default.aspx" -WebPart "c:\announcements.webpart" -Title "Announcements" -Zone "MiddleColumn" -ZoneIndex 1

This example adds an announcements web part to the default.aspx web part page located in the root web of the root site collection.