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

Add-PnPFolder

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

Creates a folder within a parent folder

Syntax

Add-PnPFolder -Name <String>
              -Folder <String>
              [-Web <WebPipeBind>]

Parameters

ParameterTypeRequiredDescription
FolderStringTrueThe parent folder in the site
NameStringTrueThe folder name
WebWebPipeBindFalseThe web to apply the command to. Omit this parameter to use the current web.

Examples

Example 1

PS:> Add-PnPFolder -Name NewFolder -Folder _catalogs/masterpage

This will create the folder NewFolder in the masterpage catalog

© 2017 Microsoft