PnP-PowerShell icon indicating copy to clipboard operation
PnP-PowerShell copied to clipboard

-FolderPath should be optional

Open cheindel opened this issue 9 years ago • 2 comments

For backwards compatibility and ease of use, the parameter -FolderPath should be optional when using https://github.com/SharePoint/PnP-PowerShell/blob/master/Documentation/AddPnPPublishingPage.md

If not specified, you could just use the root folder.

Reporting an Issue or Missing Feature

Missing Feature

Expected behavior

Backwards compatibility

Actual behavior

Old scripts now start prompting for -FolderPath parameter during runtime.

Steps to reproduce behavior

Execute Add-PnPPublishingPage without -FolderPath parameter.

Which version of the PnP-PowerShell Cmdlets are you using?

  • [ ] PnP PowerShell for SharePoint 2013
  • [X] PnP PowerShell for SharePoint 2016
  • [ ] PnP PowerShell for SharePoint Online

What is the version of the Cmdlet module you are running?

2.11.1701.1 (January 2017 Release)

How did you install the PnP-PowerShell Cmdlets?

  • [X] MSI Installed downloaded from GitHub
  • [ ] Installed through the PowerShell Gallery with Install-Module
  • [ ] Other means

cheindel avatar Jan 13 '17 08:01 cheindel

My bad. Thanks for the heads up :)

mrpullen avatar Jan 21 '17 04:01 mrpullen

We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”

spdevdocs avatar Apr 28 '18 14:04 spdevdocs