diff --git a/data/pnpPsModel.json b/data/pnpPsModel.json index be2c796..c20098f 100644 --- a/data/pnpPsModel.json +++ b/data/pnpPsModel.json @@ -1350,6 +1350,11 @@ "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Get-PnPPriviledgedIdentityManagementRole.md", "docs": "https://pnp.github.io/powershell/cmdlets/Get-PnPPriviledgedIdentityManagementRole.html" }, + { + "name": "Get-PnPProfileCardProperty", + "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Get-PnPProfileCardProperty.md", + "docs": "https://pnp.github.io/powershell/cmdlets/Get-PnPProfileCardProperty.html" + }, { "name": "Get-PnPProperty", "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Get-PnPProperty.md", @@ -2110,6 +2115,11 @@ "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/New-PnPPlannerPlan.md", "docs": "https://pnp.github.io/powershell/cmdlets/New-PnPPlannerPlan.html" }, + { + "name": "New-PnpProfileCardProperty", + "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/New-PnpProfileCardProperty.md", + "docs": "https://pnp.github.io/powershell/cmdlets/New-PnpProfileCardProperty.html" + }, { "name": "New-PnPSdnProvider", "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/New-PnPSdnProvider.md", @@ -2605,6 +2615,11 @@ "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Remove-PnPPlannerTask.md", "docs": "https://pnp.github.io/powershell/cmdlets/Remove-PnPPlannerTask.html" }, + { + "name": "Remove-PnPProfileCardProperty", + "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Remove-PnPProfileCardProperty.md", + "docs": "https://pnp.github.io/powershell/cmdlets/Remove-PnPProfileCardProperty.html" + }, { "name": "Remove-PnPPropertyBagValue", "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Remove-PnPPropertyBagValue.md", diff --git a/data/samples.json b/data/samples.json index 47f0f67..659d8d3 100644 --- a/data/samples.json +++ b/data/samples.json @@ -3962,6 +3962,10 @@ "type": "powershell", "tabTag": "#tab/pnpps", "authors": [ + { + "name": "TiloGit", + "pictureUrl": "https://github.com/TiloGit.png" + }, { "name": "Reshmee Auckloo", "pictureUrl": "https://avatars.githubusercontent.com/u/7693852?v=4" @@ -4342,6 +4346,10 @@ "type": "powershell", "tabTag": "#tab/pnpps", "authors": [ + { + "name": "Ioannis Gianko", + "pictureUrl": "https://github.com/IoannisGianko.png" + }, { "name": "Reshmee Auckloo", "pictureUrl": "https://avatars.githubusercontent.com/u/7693852?v=4" diff --git a/package-lock.json b/package-lock.json index b640155..b2f2115 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pnp-powershell-extension", - "version": "3.0.19", + "version": "3.0.20", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pnp-powershell-extension", - "version": "3.0.19", + "version": "3.0.20", "license": "MIT", "dependencies": { "axios": "^0.27.2" diff --git a/package.json b/package.json index ae6ad3b..531f70c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "pnp-powershell-extension", "displayName": "PnP PowerShell extension", "description": "With the PnP PowerShell VS Code extension, you can quickly learn, code and create scripts that use PnP PowerShell commands.", - "version": "3.0.19", + "version": "3.0.20", "publisher": "adamwojcikit", "author": { "name": "Adam" diff --git a/snippets/pnpPowerShell.code-snippets b/snippets/pnpPowerShell.code-snippets index a0c2ff4..b8c9583 100644 --- a/snippets/pnpPowerShell.code-snippets +++ b/snippets/pnpPowerShell.code-snippets @@ -2698,6 +2698,15 @@ "Get-PnPPriviledgedIdentityManagementRole" ] }, + "Get-PnPProfileCardProperty": { + "description": "This cmdlet may be used to retrieve custom properties added to user profile card.", + "body": [ + "Get-PnPProfileCardProperty " + ], + "prefix": [ + "Get-PnPProfileCardProperty" + ] + }, "Get-PnPProperty": { "description": "Will populate properties of an object and optionally, if needed, load the value from the server. If one property is specified its value will be returned to the output.", "body": [ @@ -4241,6 +4250,15 @@ "New-PnPPlannerPlan" ] }, + "New-PnpProfileCardProperty": { + "description": "This cmdlet may be used to add a property to user profile card. Please note that it may take up to 24 hours to reflect the changes.", + "body": [ + "New-PnpProfileCardProperty -PropertyName $1 -DisplayName $2" + ], + "prefix": [ + "New-PnpProfileCardProperty" + ] + }, "New-PnPSdnProvider": { "description": "This Cmdlet creates a new Software-Defined Networking, and it receives two parameters, the Identity (ID) of the Hive and the License key of the Hive.", "body": [ @@ -5155,6 +5173,15 @@ "Remove-PnPPlannerTask" ] }, + "Remove-PnPProfileCardProperty": { + "description": "This cmdlet can be used to remove a property from user profile card", + "body": [ + "Remove-PnPProfileCardProperty -PropertyName $1" + ], + "prefix": [ + "Remove-PnPProfileCardProperty" + ] + }, "Remove-PnPPropertyBagValue": { "description": [ "Removes a value from the property bag. If working with a modern SharePoint Online site or having noscript enabled, you will have to disable this yourself temporarily using Set-PnPTenantSite -Url -NoScriptSite:$false to be able to make the change.", @@ -5898,7 +5925,10 @@ ] }, "Send-PnPMail": { - "description": "Allows sending an e-mail through SharePoint Online, SMTP or Microsoft Graph. Sending e-mail through Microsoft Graph requires the Mail.Send permission.", + "description": [ + "Allows sending an e-mail through SharePoint Online or Microsoft Graph. Sending e-mail through Microsoft Graph requires the Mail.Send permission.", + "Mail.Send" + ], "body": [ "Send-PnPMail -From $1 -To $2 -Subject $3 -Body $4" ], diff --git a/webview-ui/commandsList/package-lock.json b/webview-ui/commandsList/package-lock.json index fa8bd66..c59e0bb 100644 --- a/webview-ui/commandsList/package-lock.json +++ b/webview-ui/commandsList/package-lock.json @@ -24,7 +24,7 @@ }, "../..": { "name": "pnp-powershell-extension", - "version": "3.0.19", + "version": "3.0.20", "license": "MIT", "dependencies": { "axios": "^0.27.2" diff --git a/webview-ui/docsView/package-lock.json b/webview-ui/docsView/package-lock.json index 4c8ff56..8e14d6e 100644 --- a/webview-ui/docsView/package-lock.json +++ b/webview-ui/docsView/package-lock.json @@ -27,7 +27,7 @@ }, "../..": { "name": "pnp-powershell-extension", - "version": "3.0.19", + "version": "3.0.20", "license": "MIT", "dependencies": { "axios": "^0.27.2" diff --git a/webview-ui/samplesView/package-lock.json b/webview-ui/samplesView/package-lock.json index 599cc03..99bb754 100644 --- a/webview-ui/samplesView/package-lock.json +++ b/webview-ui/samplesView/package-lock.json @@ -26,7 +26,7 @@ }, "../..": { "name": "pnp-powershell-extension", - "version": "3.0.19", + "version": "3.0.20", "license": "MIT", "dependencies": { "axios": "^0.27.2"