You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
dodelete=ShouldContinue("You are trying to delete the root site collection. Be aware that you need to contact Office 365 Support in order to create a new root site collection. Also notice that some CSOM and REST operations require the root site collection to be present. Removing this site can affect all your remote processing code, even when accessing non-root site collections.",Resources.Confirm);
Remarks="Turns on major versions on a document library and sets the maximum number of Major versions to keep to 20 and sets the maximum of Minor versions to 5.",
26
-
SortOrder=4)]
30
+
SortOrder=5)]
27
31
publicclassSetList:PnPWebCmdlet
28
32
{
29
33
[Parameter(Mandatory=true,HelpMessage="The ID, Title or Url of the list.")]
@@ -51,6 +55,9 @@ public bool
51
55
[Parameter(Mandatory=false,HelpMessage="The title of the list")]
52
56
publicstringTitle=string.Empty;
53
57
58
+
[Parameter(Mandatory=false,HelpMessage="Hide the list from the SharePoint UI. Set to $true to hide, $false to show.")]
59
+
publicboolHidden;
60
+
54
61
[Parameter(Mandatory=false,HelpMessage="Enable or disable versioning. Set to $true to enable, $false to disable.")]
0 commit comments