From 072604abda49d8326547f719c9e6e491e809605c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3jcik?= Date: Sun, 1 Oct 2023 19:55:41 +0200 Subject: [PATCH] Release 2.10.1 --- data/pnpPsModel.json | 10 ++++++++++ data/samples.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- snippets/pnpPowerShell.code-snippets | 22 ++++++++++++++++++++-- 5 files changed, 34 insertions(+), 6 deletions(-) diff --git a/data/pnpPsModel.json b/data/pnpPsModel.json index fa9cd0b..d16c742 100644 --- a/data/pnpPsModel.json +++ b/data/pnpPsModel.json @@ -1560,6 +1560,11 @@ "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Get-PnPTenantId.md", "docs": "https://pnp.github.io/powershell/cmdlets/Get-PnPTenantId.html" }, + { + "name": "Get-PnPTenantInfo", + "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Get-PnPTenantInfo.md", + "docs": "https://pnp.github.io/powershell/cmdlets/Get-PnPTenantInfo.html" + }, { "name": "Get-PnPTenantInstance", "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Get-PnPTenantInstance.md", @@ -3035,6 +3040,11 @@ "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Set-PnPSearchConfiguration.md", "docs": "https://pnp.github.io/powershell/cmdlets/Set-PnPSearchConfiguration.html" }, + { + "name": "Set-PnPSearchExternalItem", + "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Set-PnPSearchExternalItem.md", + "docs": "https://pnp.github.io/powershell/cmdlets/Set-PnPSearchExternalItem.html" + }, { "name": "Set-PnPSearchSettings", "url": "https://raw.githubusercontent.com/pnp/powershell/dev/documentation/Set-PnPSearchSettings.md", diff --git a/data/samples.json b/data/samples.json index c6f9785..a44baa7 100644 --- a/data/samples.json +++ b/data/samples.json @@ -4434,4 +4434,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/package-lock.json b/package-lock.json index 16e0320..0bdb8f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pnp-powershell-extension", - "version": "2.9.4", + "version": "2.10.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pnp-powershell-extension", - "version": "2.9.4", + "version": "2.10.1", "license": "MIT", "dependencies": { "axios": "^0.27.2" diff --git a/package.json b/package.json index ae27d1e..7944f35 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "pnp-powershell-extension", "displayName": "PnP PowerShell extension", "description": "This extension provides functionalities that may be helpful when creating scripts using PnP PowerShell like docs, commands list, sample gallery and many more.", - "version": "2.9.4", + "version": "2.10.1", "publisher": "adamwojcikit", "author": { "name": "Adam" diff --git a/snippets/pnpPowerShell.code-snippets b/snippets/pnpPowerShell.code-snippets index ec92519..3adbd90 100644 --- a/snippets/pnpPowerShell.code-snippets +++ b/snippets/pnpPowerShell.code-snippets @@ -3108,6 +3108,15 @@ "Get-PnPTenantId -TenantUrl $1" ] }, + "Get-PnPTenantInfo": { + "description": "Gets the tenantId, federation brand name, company name and default domain name regarding a specific tenant. If no Domain name or Tenant id is specified, it returns the Tenant Info of the currently connected to tenant.", + "prefix": [ + "Get-PnPTenantInfo" + ], + "body": [ + "Get-PnPTenantInfo " + ] + }, "Get-PnPTenantInstance": { "description": "Allows to retrieve list of all instances of the tenant.", "prefix": [ @@ -4107,12 +4116,12 @@ ] }, "Read-PnPTenantTemplate": { - "description": "Allows to load a PnP tenant template from the file system to memory and return its instance object.", + "description": "Allows to load a PnP tenant template from the file system, from a stream or from a string to memory and return its instance object.", "prefix": [ "Read-PnPTenantTemplate" ], "body": [ - "Read-PnPTenantTemplate " + "Read-PnPTenantTemplate -Path $1" ] }, "Receive-PnPCopyMoveJobStatus": { @@ -5966,6 +5975,15 @@ "Set-PnPSearchConfiguration -Configuration $1" ] }, + "Set-PnPSearchExternalItem": { + "description": "This cmdlet can be used to add or update an external item in Microsoft Search on custom connectors. The cmdlet will create a new external item if the item does not exist yet. If the item already exists, it will be updated.", + "prefix": [ + "Set-PnPSearchExternalItem" + ], + "body": [ + "Set-PnPSearchExternalItem -ItemId $1 -ConnectionId $2 -Properties $3" + ] + }, "Set-PnPSearchSettings": { "description": "Allows to modify search settings for a site.", "prefix": [