pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
989 stars 662 forks source link

The -MajorVersions argument contains an out-of-scope value of 20 #2786

Open kefujino opened 4 years ago

kefujino commented 4 years ago

This is a suggestion for the following documentation.

Set-PnPList https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnplist?view=sharepoint-ps

image

The sample is in scope in SharePoint Server, but out of range in SharePoint Online. To avoid confusion, I think we should add a note that this sample is for SharePoint Server and SPO users must use greater than 100.

ref Major versions SharePoint Library Settings allows a range of 100-50000 major versions; SharePoint Server Library Settings allows a range of 1-50000 major versions. https://support.microsoft.com/en-us/office/how-does-versioning-work-in-a-sharepoint-list-or-library-0f6cd105-974f-44a4-aadb-43ac5bdfd247?ui=en-us&rs=en-us&ad=us

※ I submitted the same report below before, but I made a mistake in routing, so I'll resubmit here. https://github.com/MicrosoftDocs/office-docs-powershell/issues/6082

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

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

(you can retrieve this by executing Get-Module -Name sharepointpnppowershell* -ListAvailable)

How did you install the PnP-PowerShell Cmdlets?

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.