Skip to content

Commit 75ffe30

Browse files
Release v3.0.27 (#51)
Co-authored-by: Adam-it <[email protected]>
1 parent 11eb96d commit 75ffe30

File tree

7 files changed

+37
-6
lines changed

7 files changed

+37
-6
lines changed

data/pnpPsModel.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,11 @@
985985
"url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Get-PnPFileAnalyticsData.md",
986986
"docs": "https://pnp.github.io/powershell/cmdlets/Get-PnPFileAnalyticsData.html"
987987
},
988+
{
989+
"name": "Get-PnPFileCheckedOut",
990+
"url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Get-PnPFileCheckedOut.md",
991+
"docs": "https://pnp.github.io/powershell/cmdlets/Get-PnPFileCheckedOut.html"
992+
},
988993
{
989994
"name": "Get-PnPFileInFolder",
990995
"url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Get-PnPFileInFolder.md",
@@ -3155,6 +3160,11 @@
31553160
"url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Set-PnPFileCheckedOut.md",
31563161
"docs": "https://pnp.github.io/powershell/cmdlets/Set-PnPFileCheckedOut.html"
31573162
},
3163+
{
3164+
"name": "Set-PnPFileRetentionLabel",
3165+
"url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Set-PnPFileRetentionLabel.md",
3166+
"docs": "https://pnp.github.io/powershell/cmdlets/Set-PnPFileRetentionLabel.html"
3167+
},
31583168
{
31593169
"name": "Set-PnPFolderPermission",
31603170
"url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Set-PnPFolderPermission.md",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pnp-powershell-extension",
33
"displayName": "PnP PowerShell extension",
44
"description": "With the PnP PowerShell VS Code extension, you can quickly learn, code and create scripts that use PnP PowerShell commands.",
5-
"version": "3.0.26",
5+
"version": "3.0.27",
66
"publisher": "adamwojcikit",
77
"author": {
88
"name": "Adam"

snippets/pnpPowerShell.code-snippets

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,6 +1983,18 @@
19831983
"Get-PnPFileAnalyticsData -Url $1"
19841984
]
19851985
},
1986+
"Get-PnPFileCheckedOut": {
1987+
"description": [
1988+
"This cmdlet allows to retrieve all files that are currently checked out in a library.",
1989+
"Notice: if this cmdlet would return more then 5,000 results, so 5,000 or more checked out files, it will not work and will throw an error. This is unfortunately a limitation of SharePoint Online and not something that can be fixed in the cmdlet. As long as the number of checked out files is below 5,000, this cmdlet will work as expected, even on document libraries that contain more than 5,000 files."
1990+
],
1991+
"prefix": [
1992+
"Get-PnPFileCheckedOut"
1993+
],
1994+
"body": [
1995+
"Get-PnPFileCheckedOut -List $1"
1996+
]
1997+
},
19861998
"Get-PnPFileInFolder": {
19871999
"description": [
19882000
"This cmdlet allows listing of all the files in a folder. It can optionally also list all files in the underlying subfolders.",
@@ -6221,6 +6233,15 @@
62216233
"Set-PnPFileCheckedOut "
62226234
]
62236235
},
6236+
"Set-PnPFileRetentionLabel": {
6237+
"description": "The Set-PnPFileRetentionLabel cmdlet updates the retention label information or locks/unlocks a file in SharePoint using Microsoft Graph. It takes a URL as input, decodes it, and specifically encodes the '+' character if it is part of the filename.",
6238+
"prefix": [
6239+
"Set-PnPFileRetentionLabel"
6240+
],
6241+
"body": [
6242+
"Set-PnPFileRetentionLabel -Identity $1 -RecordLocked $2"
6243+
]
6244+
},
62246245
"Set-PnPFolderPermission": {
62256246
"description": [
62266247
"Sets or clears permissions on folders within SharePoint Online. When adding permissions, if you don't use -InheritPermissions, the library will get unique permissions that initially match those of its parent. Use Get-PnPRoleDefinition to retrieve all available roles you can add or remove using this cmdlet.",

webview-ui/commandsList/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/docsView/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/samplesView/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)