This repository was archived by the owner on Jan 19, 2021. It is now read-only.
File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
23
23
24
24
### Changed
25
25
26
+ - Added additional properties to Set-PnPList
26
27
- ALM Cmdlets (Add-PnPApp, etc.) now allow for specifying the app title instead of only an id.
27
28
- Updated Set-PnPInPlaceRecordsManagement cmdlet to use a -Enabled parameter instead of -On and -Off
28
29
- Add-PnPClientSideWebPart and Add-PnPClientSideText now return the client side component added
@@ -36,6 +37,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
36
37
- Fixed Set-PnPUserProfileProperty cmdlet to accept $null values to clear properties
37
38
- Fixed Invoke-PnPSiteDesign where you connected to the -admin URL, and it ignored the WebUrl parameter when applying the site design
38
39
- Added WebUrl parameter to Set-PnPWebTheme to support connection via -admin URL needed by app-only connections
40
+ - Fixed issue with
39
41
40
42
### Deprecated
41
43
- Deprecated -Header parameter on Add-PnPNavigationNode in favor or -Parent [ Id]
@@ -44,6 +46,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
44
46
- Deprecated Connect-PnPHubSite. Use Add-PnPHubSiteAssociation
45
47
- Deprecated Disconnect-PnPHubSite. Use Remove-PnPHubSiteAssociation
46
48
49
+ ### Contributors
50
+ casselc
51
+ stevebeauge
52
+ velingeorgiev
53
+ cebud
54
+ jensotto
55
+
47
56
48
57
## [ 2.24.1803.0] - 2018-03-06
49
58
### Added
Original file line number Diff line number Diff line change @@ -59,12 +59,18 @@ public bool
59
59
[ Parameter ( Mandatory = false , HelpMessage = "The title of the list" ) ]
60
60
public string Title = string . Empty ;
61
61
62
+ [ Parameter ( Mandatory = false , HelpMessage = "The description of the list" ) ]
63
+ public string Description ;
64
+
62
65
[ Parameter ( Mandatory = false , HelpMessage = "Hide the list from the SharePoint UI. Set to $true to hide, $false to show." ) ]
63
66
public bool Hidden ;
64
67
65
68
[ Parameter ( Mandatory = false , HelpMessage = "Enable or disable attachments. Set to $true to enable, $false to disable." ) ]
66
69
public bool EnableAttachments ;
67
70
71
+ [ Parameter ( Mandatory = false , HelpMessage = "Enable or disable folder creation. Set to $true to enable, $false to disable." ) ]
72
+ public bool EnableFolderCreation ;
73
+
68
74
[ Parameter ( Mandatory = false , HelpMessage = "Enable or disable versioning. Set to $true to enable, $false to disable." ) ]
69
75
public bool EnableVersioning ;
70
76
@@ -142,6 +148,18 @@ protected override void ExecuteCmdlet()
142
148
isDirty = true ;
143
149
}
144
150
151
+ if ( MyInvocation . BoundParameters . ContainsKey ( "Description" ) )
152
+ {
153
+ list . Description = Description ;
154
+ isDirty = true ;
155
+ }
156
+
157
+ if ( MyInvocation . BoundParameters . ContainsKey ( "EnableFolderCreation" ) )
158
+ {
159
+ list . EnableFolderCreation = EnableFolderCreation ;
160
+ isDirty = true ;
161
+ }
162
+
145
163
if ( isDirty )
146
164
{
147
165
list . Update ( ) ;
You can’t perform that action at this time.
0 commit comments