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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
8
8
## [3.23.2007.0] (not yet released)
9
9
10
10
### Added
11
+
- Added a `-RowLimit` parameter to `Clear-PnPRecycleBinItem` and `Restore-PnPRecycleBinItem` so that it can be used on recycle bins which hold more than 5000 items [PR #2760](https://github.com/pnp/PnP-PowerShell/pull/2760)
11
12
- Added connection option to `Connect-PnPOnline` taking `-Scopes` and `-Credentials` to allow setting up a delegated permission token for use with Microsoft Graph and the Office 365 Management API. See [this wiki page](https://github.com/pnp/PnP-PowerShell/wiki/Connect-options#connect-using-scopes-and-credentials) for more details. [PR #2746](https://github.com/pnp/PnP-PowerShell/pull/2746)
Remarks="Permanently deletes the recycle bin item stored under variable $item from the recycle bin without asking for confirmation from the end user first",
[Parameter(Mandatory=true,HelpMessage="Id of the recycle bin item or the recycle bin item itself to permanently delete",ValueFromPipeline=true,ParameterSetName="Identity")]
34
+
conststringPARAMETERSET_ALL="All";
35
+
conststringPARAMETERSET_IDENTITY="Identity";
36
+
37
+
[Parameter(Mandatory=true,HelpMessage="Id of the recycle bin item or the recycle bin item itself to permanently delete",ValueFromPipeline=true,ParameterSetName=PARAMETERSET_IDENTITY)]
27
38
publicRecycleBinItemPipeBindIdentity;
28
39
29
-
[Parameter(Mandatory=false,ParameterSetName="All",HelpMessage="Clears all items")]
40
+
[Parameter(Mandatory=false,ParameterSetName=PARAMETERSET_ALL,HelpMessage="Clears all items")]
30
41
publicSwitchParameterAll;
31
42
32
43
#if !ONPREMISES
33
-
[Parameter(Mandatory=false,HelpMessage="If provided, only all the items in the second stage recycle bin will be cleared",ParameterSetName="All")]
44
+
[Parameter(Mandatory=false,HelpMessage="If provided, only all the items in the second stage recycle bin will be cleared",ParameterSetName=PARAMETERSET_ALL)]
34
45
publicSwitchParameterSecondStageOnly=false;
35
46
#endif
36
-
[Parameter(Mandatory=false,HelpMessage="If provided, no confirmation will be asked to permanently delete the recycle bin item")]
47
+
[Parameter(Mandatory=false,HelpMessage="If provided, no confirmation will be asked to restore the recycle bin item",ParameterSetName=PARAMETERSET_IDENTITY)]
48
+
[Parameter(Mandatory=false,HelpMessage="If provided, no confirmation will be asked to restore the recycle bin item",ParameterSetName=PARAMETERSET_ALL)]
37
49
publicSwitchParameterForce;
38
50
51
+
#if !SP2013
52
+
[Parameter(Mandatory=false,HelpMessage="Limits deletion to specified number of items",ParameterSetName=PARAMETERSET_ALL)]
Remarks="Restores all the items in the first and second stage recycle bins to their original location of which the filename ends with the .docx extension",
[Parameter(Mandatory=true,HelpMessage="Id of the recycle bin item or the recycle bin item object itself to restore",ValueFromPipeline=true,ParameterSetName="Identity")]
31
+
conststringPARAMETERSET_ALL="All";
32
+
conststringPARAMETERSET_IDENTITY="Identity";
33
+
34
+
[Parameter(Mandatory=true,HelpMessage="Id of the recycle bin item or the recycle bin item object itself to restore",ValueFromPipeline=true,ParameterSetName=PARAMETERSET_IDENTITY)]
24
35
publicRecycleBinItemPipeBindIdentity;
25
36
26
-
[Parameter(Mandatory=true,HelpMessage="If provided all items will be stored ",ValueFromPipeline=true,ParameterSetName="All")]
37
+
[Parameter(Mandatory=false,HelpMessage="If provided all items will be stored ",ValueFromPipeline=true,ParameterSetName=PARAMETERSET_ALL)]
38
+
[Obsolete("No need to add the -All parameter anymore")]
27
39
publicSwitchParameterAll;
28
40
29
-
[Parameter(Mandatory=false,HelpMessage="If provided, no confirmation will be asked to restore the recycle bin item")]
41
+
[Parameter(Mandatory=false,HelpMessage="If provided, no confirmation will be asked to restore the recycle bin item",ParameterSetName=PARAMETERSET_IDENTITY)]
42
+
[Parameter(Mandatory=false,HelpMessage="If provided, no confirmation will be asked to restore the recycle bin item",ParameterSetName=PARAMETERSET_ALL)]
30
43
publicSwitchParameterForce;
31
44
45
+
#if !SP2013
46
+
[Parameter(Mandatory=false,HelpMessage="Limits restoration to specified number of items",ParameterSetName=PARAMETERSET_ALL)]
0 commit comments