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.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,23 @@ All notable changes to this project will be documented in this file.
5
5
6
6
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
7
7
8
-
## [2.25.1804.0] - Unreleased
8
+
## [2.26.1805.0] - Unreleased
9
+
### Added
10
+
11
+
### Changed
12
+
- Updated Set-PnPTenantSite to handle changing the Site Lock State correctly. You cannot use both -LockState and set other properties at the same time due to possible delays in making the lockstate effective.
13
+
14
+
### Deprecated
15
+
16
+
### Contributors
17
+
18
+
## [2.25.1804.1]
19
+
### Changed
20
+
- Now using signed core library assembly
21
+
- Updated Set-PnPTenantSite to handle changing the Site Lock State correctly. You cannot use both -LockState and set other properties at the same time due to possible delays in making the lockstate effective.
22
+
23
+
24
+
## [2.25.1804.0]
9
25
### Added
10
26
- Added -Tree parameter to Get-PnPNavigationNode which will return a tree representation of the selected navigation structure
11
27
- Added -Parent parameter which takes an ID to Add-PnPNavigationNode instead of using the -Header parameter
[Parameter(Mandatory=true,HelpMessage="Specifies the URL of the site",Position=0,ValueFromPipeline=true)]
37
40
publicstringUrl;
38
41
39
-
[Parameter(Mandatory=false,HelpMessage="Specifies the title of the site")]
42
+
[Parameter(Mandatory=false,HelpMessage="Specifies the title of the site",ParameterSetName=ParameterSet_PROPERTIES)]
40
43
publicstringTitle;
41
44
42
-
[Parameter(Mandatory=false,HelpMessage="Specifies what the sharing capablilites are for the site. Possible values: Disabled, ExternalUserSharingOnly, ExternalUserAndGuestSharing, ExistingExternalUserSharingOnly")]
45
+
[Parameter(Mandatory=false,HelpMessage="Specifies what the sharing capablilites are for the site. Possible values: Disabled, ExternalUserSharingOnly, ExternalUserAndGuestSharing, ExistingExternalUserSharingOnly",ParameterSetName=ParameterSet_PROPERTIES)]
43
46
publicSharingCapabilities?Sharing=null;
44
47
45
-
[Parameter(Mandatory=false,HelpMessage="Specifies the storage quota for this site collection in megabytes. This value must not exceed the company's available quota.")]
48
+
[Parameter(Mandatory=false,HelpMessage="Specifies the storage quota for this site collection in megabytes. This value must not exceed the company's available quota.",ParameterSetName=ParameterSet_PROPERTIES)]
46
49
publiclong?StorageMaximumLevel=null;
47
50
48
-
[Parameter(Mandatory=false,HelpMessage="Specifies the warning level for the storage quota in megabytes. This value must not exceed the values set for the StorageMaximumLevel parameter")]
51
+
[Parameter(Mandatory=false,HelpMessage="Specifies the warning level for the storage quota in megabytes. This value must not exceed the values set for the StorageMaximumLevel parameter",ParameterSetName=ParameterSet_PROPERTIES)]
49
52
publiclong?StorageWarningLevel=null;
50
53
51
-
[Parameter(Mandatory=false,HelpMessage="Specifies the quota for this site collection in Sandboxed Solutions units. This value must not exceed the company's aggregate available Sandboxed Solutions quota. The default value is 0. For more information, see Resource Usage Limits on Sandboxed Solutions in SharePoint 2010 : http://msdn.microsoft.com/en-us/library/gg615462.aspx.")]
54
+
[Parameter(Mandatory=false,HelpMessage="Specifies the quota for this site collection in Sandboxed Solutions units. This value must not exceed the company's aggregate available Sandboxed Solutions quota. The default value is 0. For more information, see Resource Usage Limits on Sandboxed Solutions in SharePoint 2010 : http://msdn.microsoft.com/en-us/library/gg615462.aspx.",ParameterSetName=ParameterSet_PROPERTIES)]
52
55
publicdouble?UserCodeMaximumLevel=null;
53
56
54
-
[Parameter(Mandatory=false,HelpMessage="Specifies the warning level for the resource quota. This value must not exceed the value set for the UserCodeMaximumLevel parameter")]
57
+
[Parameter(Mandatory=false,HelpMessage="Specifies the warning level for the resource quota. This value must not exceed the value set for the UserCodeMaximumLevel parameter",ParameterSetName=ParameterSet_PROPERTIES)]
55
58
publicdouble?UserCodeWarningLevel=null;
56
59
57
-
[Parameter(Mandatory=false,HelpMessage="Specifies if the site administrator can upgrade the site collection")]
60
+
[Parameter(Mandatory=false,HelpMessage="Specifies if the site administrator can upgrade the site collection",ParameterSetName=ParameterSet_PROPERTIES)]
[Parameter(Mandatory=false,HelpMessage="Specifies owner(s) to add as site collection adminstrators. They will be added as additional site collection administrators. Existing administrators will stay. Can be both users and groups.")]
63
+
[Parameter(Mandatory=false,HelpMessage="Specifies owner(s) to add as site collection adminstrators. They will be added as additional site collection administrators. Existing administrators will stay. Can be both users and groups.",ParameterSetName=ParameterSet_PROPERTIES)]
61
64
publicList<string>Owners;
62
65
63
-
[Parameter(Mandatory=false,HelpMessage="Sets the lockstate of a site")]
64
-
publicSiteLockStateLockState;
66
+
[Parameter(Mandatory=false,HelpMessage="Sets the lockstate of a site",ParameterSetName=ParameterSet_LOCKSTATE)]
67
+
publicSiteLockState?LockState;
65
68
66
-
[Parameter(Mandatory=false,HelpMessage="Specifies if a site allows custom script or not. See https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f for more information.")]
69
+
[Parameter(Mandatory=false,HelpMessage="Specifies if a site allows custom script or not. See https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f for more information.",ParameterSetName=ParameterSet_PROPERTIES)]
67
70
publicSwitchParameterNoScriptSite;
68
71
69
72
[Parameter(Mandatory=false,HelpMessage="Wait for the operation to complete")]
WriteWarning("You changed the lockstate of a site. This change is not guaranteed to be effective immediately. Please wait a few minutes for this to take effect.");
DetailedDescription="Sets specific client side webpart properties. Notice that the title parameter will only set the -internal- title of webpart. The title which is shown in the UI will, if possible, have to be set using the PropertiesJson parameter. Use Get-PnPClientSideComponent to retrieve the instance id and properties of a webpart.",
15
15
Category=CmdletHelpCategory.WebParts)]
16
16
[CmdletExample(
17
-
Code=@"PS:> Set-PnPClientSideWebPart -Page Home -InstanceId a2875399-d6ff-43a0-96da-be6ae5875f82 -PropertiesJson $myproperties",
17
+
Code=@"PS:> Set-PnPClientSideWebPart -Page Home -Identity a2875399-d6ff-43a0-96da-be6ae5875f82 -PropertiesJson $myproperties",
18
18
Remarks=@"Sets the properties of the client side webpart given in the $myproperties variable.",SortOrder=1)]
0 commit comments