Skip to content

New command: Remove folder #426

@VelinGeorgiev

Description

@VelinGeorgiev

Deletes a folder form a site

  • command: spo folder remove -u|--webUrl <webUrl> -s|--sourceUrl <sourceUrl> --recycle --confirm
  • webUrl: The URL of the site where the folder will be deleted
  • sourceUrl : Site-relative URL of the target folder _catalogs/masterpage/folder1
  • recycle: Recycle the folder instead of actually deleting it
  • confirm: Don't prompt for confirming before deleting the folder

For more information see the Remove-PnPFolder cmdlet

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions