diff --git a/data/samples.json b/data/samples.json index 8397b2c..dcba701 100644 --- a/data/samples.json +++ b/data/samples.json @@ -387,6 +387,26 @@ "Invoke-PnPGraphMethod,Invoke-PnPSearchQuery,Invoke-RestMethod" ] }, + { + "title": "Get Site Collection invalid user accounts", + "url": "https://pnp.github.io/script-samples/get-spo-invalid-user-accounts/README.html", + "rawUrl": "https://raw.githubusercontent.com/pnp/script-samples/main/scripts/get-spo-invalid-user-accounts/README.md", + "description": "Find the user accounts which no longer is valid, export report to CSV", + "image": "https://raw.githubusercontent.com/pnp/script-samples/main/scripts/get-spo-invalid-user-accounts/assets/preview.png", + "type": "powershell", + "tabTag": "#tab/pnpps", + "authors": [ + { + "name": "Kasper Larsen", + "pictureUrl": "https://github.com/kasperbolarsen.png" + } + ], + "tags": [ + "Invoke-PnPGraphMethod", + "Get-PnPUser", + "Submit-PnPSearchQuery" + ] + }, { "title": "Authenticate with and call the Microsoft Graph", "url": "https://pnp.github.io/script-samples/graph-call-graph/README.html", @@ -1969,6 +1989,36 @@ "Invoke-PnPSPRestMethod" ] }, + { + "title": "Deploying SPFx Packages from Tenant App Catalog to Hub Site and Associated Sites", + "url": "https://pnp.github.io/script-samples/spo-deploy-install-update-spfx-hubsiteassociatedsites-tenantappaatalog/README.html", + "rawUrl": "https://raw.githubusercontent.com/pnp/script-samples/main/scripts/spo-deploy-install-update-spfx-hubsiteassociatedsites-tenantappaatalog/README.md", + "description": "Deploying SPFx Packages from Tenant App Catalog to Hub Site and Associated Sites", + "image": "https://raw.githubusercontent.com/pnp/script-samples/main/scripts/spo-deploy-install-update-spfx-hubsiteassociatedsites-tenantappcatalog/assets/preview.png", + "type": "powershell", + "tabTag": "#tab/pnpps", + "authors": [ + { + "name": "Reshmee Auckloo", + "pictureUrl": "https://avatars.githubusercontent.com/u/7693852?v=4" + } + ], + "tags": [ + "modern", + "Connect-PnPOnline", + "Disconnect-PnPOnline", + "Get-PnPTenantSite", + "Add-PnPApp", + "Get-PnPApp", + "Install-PnPApp", + "Update-PnPApp", + "Get-PnPHubSite", + "Get-PnPSite", + "Get-PnPTenant", + "Get-PnPWeb", + "Invoke-PnPSPRestMethod" + ] + }, { "title": "Extract the configuration of a PnP Modern Search results web part and apply it on another site collection", "url": "https://pnp.github.io/script-samples/spo-deploy-pnpmodernsearch-webpart/README.html", @@ -4223,6 +4273,10 @@ "type": "powershell", "tabTag": "#tab/pnpps", "authors": [ + { + "name": "Valeras Narbutas", + "pictureUrl": "https://avatars.githubusercontent.com/ValerasNarbutas" + }, { "name": "Lotsamocha01", "pictureUrl": "https://github.com/Lotsamocha01.png" diff --git a/package-lock.json b/package-lock.json index 13e0e1d..6be59b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pnp-powershell-extension", - "version": "2.12.6", + "version": "2.12.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pnp-powershell-extension", - "version": "2.12.6", + "version": "2.12.7", "license": "MIT", "dependencies": { "axios": "^0.27.2" diff --git a/package.json b/package.json index 6432d0e..da7b4af 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.12.6", + "version": "2.12.7", "publisher": "adamwojcikit", "author": { "name": "Adam" diff --git a/snippets/pnpPowerShell.code-snippets b/snippets/pnpPowerShell.code-snippets index 52c5b0e..d647c08 100644 --- a/snippets/pnpPowerShell.code-snippets +++ b/snippets/pnpPowerShell.code-snippets @@ -1,446 +1,446 @@ { "Add-PnPAlert": { - "body": [ - "Add-PnPAlert " - ], - "description": "This cmdlets allows to add an alert for a user to a list.", "prefix": [ "Add-PnPAlert" + ], + "description": "This cmdlets allows to add an alert for a user to a list.", + "body": [ + "Add-PnPAlert " ] }, "Add-PnPApp": { - "body": [ - "Add-PnPApp " + "prefix": [ + "Add-PnPApp" ], "description": [ "Allows to upload an app to the app catalog at tenant or site collection level. By specifying -Publish option it is possible to deploy/trust it at the same time.", "-Publish" ], - "prefix": [ - "Add-PnPApp" + "body": [ + "Add-PnPApp " ] }, "Add-PnPApplicationCustomizer": { - "body": [ - "Add-PnPApplicationCustomizer " - ], - "description": "Adds a SharePoint Framework client side extension application customizer by registering a user custom action to a web or sitecollection. This can be useful in the scenario where you have a SPFx Application Customizer whcih you decide to deploy to the global app catalog, checking the box to deploy it to the entire tenant. If you then go to the Tenant Wide Extensions list inside the tenant app catalog and set the SPFx Application Customizer its Disabled property to be Yes, you can use this cmdlet to add the functionality of that SPFx component to specific site collections manually. This voids having to add it as an app to every site collection and it being visible in the site contents, yet you having full control over where it should be ran and where not.", "prefix": [ "Add-PnPApplicationCustomizer" + ], + "description": "Adds a SharePoint Framework client side extension application customizer by registering a user custom action to a web or sitecollection. This can be useful in the scenario where you have a SPFx Application Customizer whcih you decide to deploy to the global app catalog, checking the box to deploy it to the entire tenant. If you then go to the Tenant Wide Extensions list inside the tenant app catalog and set the SPFx Application Customizer its Disabled property to be Yes, you can use this cmdlet to add the functionality of that SPFx component to specific site collections manually. This voids having to add it as an app to every site collection and it being visible in the site contents, yet you having full control over where it should be ran and where not.", + "body": [ + "Add-PnPApplicationCustomizer " ] }, "Add-PnPAvailableSiteClassification": { - "body": [ - "Add-PnPAvailableSiteClassification -Classifications $1" - ], - "description": "Allows to add classic site classification values.", "prefix": [ "Add-PnPAvailableSiteClassification" + ], + "description": "Allows to add classic site classification values.", + "body": [ + "Add-PnPAvailableSiteClassification -Classifications $1" ] }, "Add-PnPAzureADGroupMember": { - "body": [ - "Add-PnPAzureADGroupMember -Identity $1 -Users $2" + "prefix": [ + "Add-PnPAzureADGroupMember" ], "description": [ "Allows to add users to Azure Active Directory Group. This can be a security, distribution or Microsoft 365 group. By specifying -RemoveExisting option it is possible to first clear the group of all existing members.", "-RemoveExisting" ], - "prefix": [ - "Add-PnPAzureADGroupMember" + "body": [ + "Add-PnPAzureADGroupMember -Identity $1 -Users $2" ] }, "Add-PnPAzureADGroupOwner": { - "body": [ - "Add-PnPAzureADGroupOwner -Identity $1 -Users $2" + "prefix": [ + "Add-PnPAzureADGroupOwner" ], "description": [ "Allows to add users to owners of an Azure Active Directory Group. This can be a security, distribution or Microsoft 365 group. By specifying -RemoveExisting option it is possible to first clear the group of all existing members.", "-RemoveExisting" ], - "prefix": [ - "Add-PnPAzureADGroupOwner" + "body": [ + "Add-PnPAzureADGroupOwner -Identity $1 -Users $2" ] }, "Add-PnPAzureADServicePrincipalAppRole": { - "body": [ - "Add-PnPAzureADServicePrincipalAppRole -Principal $1 -AppRole $2 -BuiltInType $3" - ], - "description": "Allows adding of an app role such as Sites.FullControl.All to a service principal/application registration in Azure Active Directory. This can be used to grant permissions to a service principal/application registration, such as a Managed Identity.", "prefix": [ "Add-PnPAzureADServicePrincipalAppRole" + ], + "description": "Allows adding of an app role such as Sites.FullControl.All to a service principal/application registration in Azure Active Directory. This can be used to grant permissions to a service principal/application registration, such as a Managed Identity.", + "body": [ + "Add-PnPAzureADServicePrincipalAppRole -Principal $1 -AppRole $2 -BuiltInType $3" ] }, "Add-PnPContentType": { - "body": [ - "Add-PnPContentType -Name $1" - ], - "description": "Adds a new content type to a site. To create a content type in the modern Content Type Gallery, first connect to the content type hub site for the tenant.", "prefix": [ "Add-PnPContentType" + ], + "description": "Adds a new content type to a site. To create a content type in the modern Content Type Gallery, first connect to the content type hub site for the tenant.", + "body": [ + "Add-PnPContentType -Name $1" ] }, "Add-PnPContentTypesFromContentTypeHub": { - "body": [ - "Add-PnPContentTypesFromContentTypeHub -ContentTypes $1" - ], - "description": "Allows to add content types from content type hub site to current site. In case the same content type is already present on the current site then the latest published version will be used.", "prefix": [ "Add-PnPContentTypesFromContentTypeHub" + ], + "description": "Allows to add content types from content type hub site to current site. In case the same content type is already present on the current site then the latest published version will be used.", + "body": [ + "Add-PnPContentTypesFromContentTypeHub -ContentTypes $1" ] }, "Add-PnPContentTypeToDocumentSet": { - "body": [ - "Add-PnPContentTypeToDocumentSet -ContentType $1 -DocumentSet $2" - ], - "description": "Allows to add a content type to a document set.", "prefix": [ "Add-PnPContentTypeToDocumentSet" + ], + "description": "Allows to add a content type to a document set.", + "body": [ + "Add-PnPContentTypeToDocumentSet -ContentType $1 -DocumentSet $2" ] }, "Add-PnPContentTypeToList": { - "body": [ - "Add-PnPContentTypeToList -List $1 -ContentType $2" + "prefix": [ + "Add-PnPContentTypeToList" ], "description": [ "Allows to add content type to list. By specifying -DefaultContentType option it is possible set the newly added content type as default.", "-DefaultContentType" ], - "prefix": [ - "Add-PnPContentTypeToList" + "body": [ + "Add-PnPContentTypeToList -List $1 -ContentType $2" ] }, "Add-PnPCustomAction": { - "body": [ - "Add-PnPCustomAction -Name $1 -Title $2 -Description $3 -Group $4 -Location $5" - ], - "description": "Adds a user custom action to a web or sitecollection.", "prefix": [ "Add-PnPCustomAction" + ], + "description": "Adds a user custom action to a web or sitecollection.", + "body": [ + "Add-PnPCustomAction -Name $1 -Title $2 -Description $3 -Group $4 -Location $5" ] }, "Add-PnPDataRowsToSiteTemplate": { - "body": [ - "Add-PnPDataRowsToSiteTemplate " + "prefix": [ + "Add-PnPDataRowsToSiteTemplate" ], "description": [ "Allows to add datarows to list inside a PnP Provisioning Template. The command allows to specify the fields which should be retrieved using -Fields option and filter the datarows to be used by using -Query option.", "-Fields", "-Query" ], - "prefix": [ - "Add-PnPDataRowsToSiteTemplate" + "body": [ + "Add-PnPDataRowsToSiteTemplate " ] }, "Add-PnPDocumentSet": { - "body": [ - "Add-PnPDocumentSet -List $1 -Name $2 -ContentType $3" - ], - "description": "Allows to add new document set to library.", "prefix": [ "Add-PnPDocumentSet" + ], + "description": "Allows to add new document set to library.", + "body": [ + "Add-PnPDocumentSet -List $1 -Name $2 -ContentType $3" ] }, "Add-PnPEventReceiver": { - "body": [ - "Add-PnPEventReceiver " - ], - "description": "This cmdlet adds a new remote event receiver.", "prefix": [ "Add-PnPEventReceiver" + ], + "description": "This cmdlet adds a new remote event receiver.", + "body": [ + "Add-PnPEventReceiver " ] }, "Add-PnPField": { - "body": [ - "Add-PnPField " - ], - "description": "Adds a field (a column) to a list or as a site column. To add a column of type Managed Metadata use the Add-PnPTaxonomyField cmdlet.", "prefix": [ "Add-PnPField" + ], + "description": "Adds a field (a column) to a list or as a site column. To add a column of type Managed Metadata use the Add-PnPTaxonomyField cmdlet.", + "body": [ + "Add-PnPField " ] }, "Add-PnPFieldFromXml": { - "body": [ - "Add-PnPFieldFromXml " - ], - "description": "Allows to add new field by specifying its definition in CAML/XML format to list or site columns.", "prefix": [ "Add-PnPFieldFromXml" + ], + "description": "Allows to add new field by specifying its definition in CAML/XML format to list or site columns.", + "body": [ + "Add-PnPFieldFromXml " ] }, "Add-PnPFieldToContentType": { - "body": [ - "Add-PnPFieldToContentType -Field $1 -ContentType $2" - ], - "description": "Allows to add a field from site columns to an existing content type.", "prefix": [ "Add-PnPFieldToContentType" + ], + "description": "Allows to add a field from site columns to an existing content type.", + "body": [ + "Add-PnPFieldToContentType -Field $1 -ContentType $2" ] }, "Add-PnPFile": { - "body": [ - "Add-PnPFile -Path $1 -Folder $2" - ], - "description": "This cmdlet uploads a local file, file from a stream or plain text to the specified folder.", "prefix": [ "Add-PnPFile" + ], + "description": "This cmdlet uploads a local file, file from a stream or plain text to the specified folder.", + "body": [ + "Add-PnPFile -Path $1 -Folder $2" ] }, "Add-PnPFileAnonymousSharingLink": { - "body": [ - "Add-PnPFileAnonymousSharingLink -FileUrl $1 -Type $2 -Password $3 -ExpirationDateTime $4" - ], - "description": "Creates an anonymous sharing link to share a file.", "prefix": [ "Add-PnPFileAnonymousSharingLink" + ], + "description": "Creates an anonymous sharing link to share a file.", + "body": [ + "Add-PnPFileAnonymousSharingLink -FileUrl $1 -Type $2 -Password $3 -ExpirationDateTime $4" ] }, "Add-PnPFileOrganizationalSharingLink": { - "body": [ - "Add-PnPFileOrganizationalSharingLink -FileUrl $1 -Type $2" - ], - "description": "Creates a new organization sharing link for a file.", "prefix": [ "Add-PnPFileOrganizationalSharingLink" + ], + "description": "Creates a new organization sharing link for a file.", + "body": [ + "Add-PnPFileOrganizationalSharingLink -FileUrl $1 -Type $2" ] }, "Add-PnPFileSharingInvite": { - "body": [ - "Add-PnPFileSharingInvite -FileUrl $1 -Users $2 -Message $3 -RequireSignIn $4 -SendInvitation $5 -Role $6 -ExpirationDateTime $7" - ], - "description": "Creates an invitation for users to a file.", "prefix": [ "Add-PnPFileSharingInvite" + ], + "description": "Creates an invitation for users to a file.", + "body": [ + "Add-PnPFileSharingInvite -FileUrl $1 -Users $2 -Message $3 -RequireSignIn $4 -SendInvitation $5 -Role $6 -ExpirationDateTime $7" ] }, "Add-PnPFileToSiteTemplate": { - "body": [ - "Add-PnPFileToSiteTemplate " - ], - "description": "Allows adding a file to a PnP Provisioning Template package (.pnp) so that the file will get uploaded to the SharePoint Online site to which the template is being invoked. This allows the file to be referenced in i.e. a document template, site logo or any other component that references a file.", "prefix": [ "Add-PnPFileToSiteTemplate" + ], + "description": "Allows adding a file to a PnP Provisioning Template package (.pnp) so that the file will get uploaded to the SharePoint Online site to which the template is being invoked. This allows the file to be referenced in i.e. a document template, site logo or any other component that references a file.", + "body": [ + "Add-PnPFileToSiteTemplate " ] }, "Add-PnPFileUserSharingLink": { - "body": [ - "Add-PnPFileUserSharingLink -FileUrl $1 -Type $2 -Users $3" - ], - "description": "Creates a new user sharing link for a file.", "prefix": [ "Add-PnPFileUserSharingLink" + ], + "description": "Creates a new user sharing link for a file.", + "body": [ + "Add-PnPFileUserSharingLink -FileUrl $1 -Type $2 -Users $3" ] }, "Add-PnPFlowOwner": { - "body": [ - "Add-PnPFlowOwner -Environment $1 -Identity $2 -User $3 -Role $4" - ], - "description": "This cmdlet assigns/updates permissions for a user to a Power Automate flow.", "prefix": [ "Add-PnPFlowOwner" + ], + "description": "This cmdlet assigns/updates permissions for a user to a Power Automate flow.", + "body": [ + "Add-PnPFlowOwner -Environment $1 -Identity $2 -User $3 -Role $4" ] }, "Add-PnPFolder": { - "body": [ - "Add-PnPFolder -Name $1 -Folder $2" - ], - "description": "Allows to add a new folder.", "prefix": [ "Add-PnPFolder" + ], + "description": "Allows to add a new folder.", + "body": [ + "Add-PnPFolder -Name $1 -Folder $2" ] }, "Add-PnPFolderAnonymousSharingLink": { - "body": [ - "Add-PnPFolderAnonymousSharingLink -Folder $1 -Type $2 -Password $3 -ExpirationDateTime $4" - ], - "description": "Creates a new anonymous sharing link for a folder.", "prefix": [ "Add-PnPFolderAnonymousSharingLink" + ], + "description": "Creates a new anonymous sharing link for a folder.", + "body": [ + "Add-PnPFolderAnonymousSharingLink -Folder $1 -Type $2 -Password $3 -ExpirationDateTime $4" ] }, "Add-PnPFolderOrganizationalSharingLink": { - "body": [ - "Add-PnPFolderOrganizationalSharingLink -Folder $1 -Type $2" - ], - "description": "Creates a new organization sharing link for a folder.", "prefix": [ "Add-PnPFolderOrganizationalSharingLink" + ], + "description": "Creates a new organization sharing link for a folder.", + "body": [ + "Add-PnPFolderOrganizationalSharingLink -Folder $1 -Type $2" ] }, "Add-PnPFolderSharingInvite": { - "body": [ - "Add-PnPFolderSharingInvite -Folder $1 -Users $2 -Message $3 -RequireSignIn $4 -SendInvitation $5 -Role $6 -ExpirationDateTime $7" - ], - "description": "Creates an invitation for user to a folder.", "prefix": [ "Add-PnPFolderSharingInvite" + ], + "description": "Creates an invitation for user to a folder.", + "body": [ + "Add-PnPFolderSharingInvite -Folder $1 -Users $2 -Message $3 -RequireSignIn $4 -SendInvitation $5 -Role $6 -ExpirationDateTime $7" ] }, "Add-PnPFolderUserSharingLink": { - "body": [ - "Add-PnPFolderUserSharingLink -Folder $1 -Type $2 -Users $3" - ], - "description": "Creates a new user sharing link for a folder.", "prefix": [ "Add-PnPFolderUserSharingLink" + ], + "description": "Creates a new user sharing link for a folder.", + "body": [ + "Add-PnPFolderUserSharingLink -Folder $1 -Type $2 -Users $3" ] }, "Add-PnPGroupMember": { - "body": [ - "Add-PnPGroupMember -LoginName $1 -Group $2" - ], - "description": "Allows to add new user to SharePoint group. The SharePoint group may be specified either by id, name or related object.", "prefix": [ "Add-PnPGroupMember" + ], + "description": "Allows to add new user to SharePoint group. The SharePoint group may be specified either by id, name or related object.", + "body": [ + "Add-PnPGroupMember -LoginName $1 -Group $2" ] }, "Add-PnPHtmlPublishingPageLayout": { - "body": [ - "Add-PnPHtmlPublishingPageLayout -SourceFilePath $1 -Title $2 -Description $3 -AssociatedContentTypeID $4" - ], - "description": "Allows to add a HTML based publishing page layout.", "prefix": [ "Add-PnPHtmlPublishingPageLayout" + ], + "description": "Allows to add a HTML based publishing page layout.", + "body": [ + "Add-PnPHtmlPublishingPageLayout -SourceFilePath $1 -Title $2 -Description $3 -AssociatedContentTypeID $4" ] }, "Add-PnPHubSiteAssociation": { - "body": [ - "Add-PnPHubSiteAssociation -Site $1 -HubSite $2" - ], - "description": "Connects an existing site to a hubsite", "prefix": [ "Add-PnPHubSiteAssociation" + ], + "description": "Connects an existing site to a hubsite", + "body": [ + "Add-PnPHubSiteAssociation -Site $1 -HubSite $2" ] }, "Add-PnPHubToHubAssociation": { - "body": [ - "Add-PnPHubToHubAssociation -Source $1 -Target $2" - ], - "description": "Use this cmdlet to associate a hub site to a hub site.", "prefix": [ "Add-PnPHubToHubAssociation" + ], + "description": "Use this cmdlet to associate a hub site to a hub site.", + "body": [ + "Add-PnPHubToHubAssociation -Source $1 -Target $2" ] }, "Add-PnPIndexedProperty": { - "body": [ - "Add-PnPIndexedProperty " - ], - "description": "Allows to set search index on propertybag key.", "prefix": [ "Add-PnPIndexedProperty" + ], + "description": "Allows to set search index on propertybag key.", + "body": [ + "Add-PnPIndexedProperty " ] }, "Add-PnPJavaScriptBlock": { - "body": [ - "Add-PnPJavaScriptBlock -Name $1 -Script $2" - ], - "description": "Specify a scope as 'Site' to add the custom action to all sites in a site collection.", "prefix": [ "Add-PnPJavaScriptBlock" + ], + "description": "Specify a scope as 'Site' to add the custom action to all sites in a site collection.", + "body": [ + "Add-PnPJavaScriptBlock -Name $1 -Script $2" ] }, "Add-PnPJavaScriptLink": { - "body": [ - "Add-PnPJavaScriptLink -Name $1 -Url $2" - ], - "description": "Creates a custom action that refers to a JavaScript file", "prefix": [ "Add-PnPJavaScriptLink" + ], + "description": "Creates a custom action that refers to a JavaScript file", + "body": [ + "Add-PnPJavaScriptLink -Name $1 -Url $2" ] }, "Add-PnPListDesign": { - "body": [ - "Add-PnPListDesign -Title $1 -SiteScript $2" - ], - "description": "Allows to add new List Design to tenant.", "prefix": [ "Add-PnPListDesign" + ], + "description": "Allows to add new List Design to tenant.", + "body": [ + "Add-PnPListDesign -Title $1 -SiteScript $2" ] }, "Add-PnPListFoldersToSiteTemplate": { - "body": [ - "Add-PnPListFoldersToSiteTemplate " - ], - "description": "Allows to add folders to a list in a PnP Provisioning Template.", "prefix": [ "Add-PnPListFoldersToSiteTemplate" + ], + "description": "Allows to add folders to a list in a PnP Provisioning Template.", + "body": [ + "Add-PnPListFoldersToSiteTemplate " ] }, "Add-PnPListItem": { - "body": [ - "Add-PnPListItem " - ], - "description": "Allows to add an item to the list and sets the creation time to the current date and time. The author is set to the current authenticated user executing the cmdlet. In order to set the author to a different user, please refer to Set-PnPListItem.", "prefix": [ "Add-PnPListItem" + ], + "description": "Allows to add an item to the list and sets the creation time to the current date and time. The author is set to the current authenticated user executing the cmdlet. In order to set the author to a different user, please refer to Set-PnPListItem.", + "body": [ + "Add-PnPListItem " ] }, "Add-PnPListItemAttachment": { - "body": [ - "Add-PnPListItemAttachment " - ], - "description": "This cmdlet allows adding a file as an attachment to a list item in a SharePoint Online list.", "prefix": [ "Add-PnPListItemAttachment" + ], + "description": "This cmdlet allows adding a file as an attachment to a list item in a SharePoint Online list.", + "body": [ + "Add-PnPListItemAttachment " ] }, "Add-PnPListItemComment": { - "body": [ - "Add-PnPListItemComment " - ], - "description": "Allows to add comment to the specified list item.", "prefix": [ "Add-PnPListItemComment" + ], + "description": "Allows to add comment to the specified list item.", + "body": [ + "Add-PnPListItemComment " ] }, "Add-PnPMasterPage": { - "body": [ - "Add-PnPMasterPage -SourceFilePath $1 -Title $2 -Description $3" - ], - "description": "Allows to add MasterPage.", "prefix": [ "Add-PnPMasterPage" + ], + "description": "Allows to add MasterPage.", + "body": [ + "Add-PnPMasterPage -SourceFilePath $1 -Title $2 -Description $3" ] }, "Add-PnPMicrosoft365GroupMember": { - "body": [ - "Add-PnPMicrosoft365GroupMember -Identity $1 -Users $2" - ], - "description": "Allows to add multiple users to Microsoft 365 Group.", "prefix": [ "Add-PnPMicrosoft365GroupMember" + ], + "description": "Allows to add multiple users to Microsoft 365 Group.", + "body": [ + "Add-PnPMicrosoft365GroupMember -Identity $1 -Users $2" ] }, "Add-PnPMicrosoft365GroupOwner": { - "body": [ - "Add-PnPMicrosoft365GroupOwner -Identity $1 -Users $2" - ], - "description": "Allows to add multiple users to Microsoft 365 Group as owners.", "prefix": [ "Add-PnPMicrosoft365GroupOwner" + ], + "description": "Allows to add multiple users to Microsoft 365 Group as owners.", + "body": [ + "Add-PnPMicrosoft365GroupOwner -Identity $1 -Users $2" ] }, "Add-PnPMicrosoft365GroupToSite": { - "body": [ - "Add-PnPMicrosoft365GroupToSite -Url $1 -Alias $2 -DisplayName $3" - ], - "description": "This command allows you to add a Microsoft 365 Unified group to an existing classic site collection, also known as groupifying.", "prefix": [ "Add-PnPMicrosoft365GroupToSite" + ], + "description": "This command allows you to add a Microsoft 365 Unified group to an existing classic site collection, also known as groupifying.", + "body": [ + "Add-PnPMicrosoft365GroupToSite -Url $1 -Alias $2 -DisplayName $3" ] }, "Add-PnPNavigationNode": { - "body": [ - "Add-PnPNavigationNode -Location $1 -Title $2" - ], - "description": "Adds a menu item to either the quicklaunch, top navigation, search navigation or the footer", "prefix": [ "Add-PnPNavigationNode" + ], + "description": "Adds a menu item to either the quicklaunch, top navigation, search navigation or the footer", + "body": [ + "Add-PnPNavigationNode -Location $1 -Title $2" ] }, "Add-PnPOrgAssetsLibrary": { - "body": [ - "Add-PnPOrgAssetsLibrary -LibraryUrl $1" + "prefix": [ + "Add-PnPOrgAssetsLibrary" ], "description": [ "Adds a given document library as an organizational asset source in your SharePoint Online Tenant. You can specify multiple libraries, but all organizational asset sources you add must reside in the same site collection.", @@ -449,169 +449,169 @@ "Only entire libraries can be configured as an organizational asset, folders cannot.", "It may take some time before this change will be reflected in the web interface." ], - "prefix": [ - "Add-PnPOrgAssetsLibrary" + "body": [ + "Add-PnPOrgAssetsLibrary -LibraryUrl $1" ] }, "Add-PnPOrgNewsSite": { - "body": [ - "Add-PnPOrgNewsSite -OrgNewsSiteUrl $1" - ], - "description": "Allows to add site as an organization news source in your tenant.", "prefix": [ "Add-PnPOrgNewsSite" + ], + "description": "Allows to add site as an organization news source in your tenant.", + "body": [ + "Add-PnPOrgNewsSite -OrgNewsSiteUrl $1" ] }, "Add-PnPPage": { - "body": [ - "Add-PnPPage " - ], - "description": "Creates a new page. The page will be located inside the Site Pages library of the site currently connected to.", "prefix": [ "Add-PnPPage" + ], + "description": "Creates a new page. The page will be located inside the Site Pages library of the site currently connected to.", + "body": [ + "Add-PnPPage " ] }, "Add-PnPPageImageWebPart": { - "body": [ - "Add-PnPPageImageWebPart " - ], - "description": "Adds a new image element to a section on a client-side page.", "prefix": [ "Add-PnPPageImageWebPart" + ], + "description": "Adds a new image element to a section on a client-side page.", + "body": [ + "Add-PnPPageImageWebPart " ] }, "Add-PnPPageSection": { - "body": [ - "Add-PnPPageSection " - ], - "description": "Allows to add a new section to a page.", "prefix": [ "Add-PnPPageSection" + ], + "description": "Allows to add a new section to a page.", + "body": [ + "Add-PnPPageSection " ] }, "Add-PnPPageTextPart": { - "body": [ - "Add-PnPPageTextPart -Page $1 -Text $2" - ], - "description": "Adds a new text element to a section on a client-side page.", "prefix": [ "Add-PnPPageTextPart" + ], + "description": "Adds a new text element to a section on a client-side page.", + "body": [ + "Add-PnPPageTextPart -Page $1 -Text $2" ] }, "Add-PnPPageWebPart": { - "body": [ - "Add-PnPPageWebPart " - ], - "description": "Adds a client-side web part to an existing client-side page.", "prefix": [ "Add-PnPPageWebPart" + ], + "description": "Adds a client-side web part to an existing client-side page.", + "body": [ + "Add-PnPPageWebPart " ] }, "Add-PnPPlannerBucket": { - "body": [ - "Add-PnPPlannerBucket -Group $1 -Plan $2 -Name $3" - ], - "description": "This cmdlets creates a new bucket for tasks in a Planner plan.", "prefix": [ "Add-PnPPlannerBucket" + ], + "description": "This cmdlets creates a new bucket for tasks in a Planner plan.", + "body": [ + "Add-PnPPlannerBucket -Group $1 -Plan $2 -Name $3" ] }, "Add-PnPPlannerRoster": { - "body": [ - "Add-PnPPlannerRoster " - ], - "description": "Creates a new Microsoft Planner Roster", "prefix": [ "Add-PnPPlannerRoster" + ], + "description": "Creates a new Microsoft Planner Roster", + "body": [ + "Add-PnPPlannerRoster " ] }, "Add-PnPPlannerRosterMember": { - "body": [ - "Add-PnPPlannerRosterMember -Identity $1 -User $2" - ], - "description": "Adds a user to an existing Microsoft Planner Roster", "prefix": [ "Add-PnPPlannerRosterMember" + ], + "description": "Adds a user to an existing Microsoft Planner Roster", + "body": [ + "Add-PnPPlannerRosterMember -Identity $1 -User $2" ] }, "Add-PnPPlannerTask": { - "body": [ - "Add-PnPPlannerTask -Group $1 -Plan $2 -Bucket $3 -Title $4" - ], - "description": "This cmdlet adds a new task to Planner bucket", "prefix": [ "Add-PnPPlannerTask" + ], + "description": "This cmdlet adds a new task to Planner bucket", + "body": [ + "Add-PnPPlannerTask -Group $1 -Plan $2 -Bucket $3 -Title $4" ] }, "Add-PnPPublishingImageRendition": { - "body": [ - "Add-PnPPublishingImageRendition -Name $1 -Width $2 -Height $3" - ], - "description": "Allows to add an Image Rendition.", "prefix": [ "Add-PnPPublishingImageRendition" + ], + "description": "Allows to add an Image Rendition.", + "body": [ + "Add-PnPPublishingImageRendition -Name $1 -Width $2 -Height $3" ] }, "Add-PnPPublishingPage": { - "body": [ - "Add-PnPPublishingPage -PageName $1" - ], - "description": "Allows to add a publishing page.", "prefix": [ "Add-PnPPublishingPage" + ], + "description": "Allows to add a publishing page.", + "body": [ + "Add-PnPPublishingPage -PageName $1" ] }, "Add-PnPPublishingPageLayout": { - "body": [ - "Add-PnPPublishingPageLayout -SourceFilePath $1 -Title $2 -Description $3 -AssociatedContentTypeID $4" - ], - "description": "Allows to add a publishing page layout and associate it to a content type.", "prefix": [ "Add-PnPPublishingPageLayout" + ], + "description": "Allows to add a publishing page layout and associate it to a content type.", + "body": [ + "Add-PnPPublishingPageLayout -SourceFilePath $1 -Title $2 -Description $3 -AssociatedContentTypeID $4" ] }, "Add-PnPRoleDefinition": { - "body": [ - "Add-PnPRoleDefinition -RoleName $1" - ], - "description": "This command allows adding a custom Role Definition (Permission Level) to the site collection in the current context. It does not replace or remove existing Role Definitions.", "prefix": [ "Add-PnPRoleDefinition" + ], + "description": "This command allows adding a custom Role Definition (Permission Level) to the site collection in the current context. It does not replace or remove existing Role Definitions.", + "body": [ + "Add-PnPRoleDefinition -RoleName $1" ] }, "Add-PnPSiteCollectionAdmin": { - "body": [ - "Add-PnPSiteCollectionAdmin " + "prefix": [ + "Add-PnPSiteCollectionAdmin" ], "description": [ "This command allows adding one to many users as site collection administrators to the site collection in the current context. It does not replace or remove existing site collection administrators. You must be a Site Collection Admin to run this command. Use Set-PnPTenantSite -Owners if you are not an Admin for the site but have the SharePoint Online admin role.", "Set-PnPTenantSite -Owners" ], - "prefix": [ - "Add-PnPSiteCollectionAdmin" + "body": [ + "Add-PnPSiteCollectionAdmin " ] }, "Add-PnPSiteCollectionAppCatalog": { - "body": [ - "Add-PnPSiteCollectionAppCatalog " - ], - "description": "Allows to add Site Collection scoped App Catalog.", "prefix": [ "Add-PnPSiteCollectionAppCatalog" + ], + "description": "Allows to add Site Collection scoped App Catalog.", + "body": [ + "Add-PnPSiteCollectionAppCatalog " ] }, "Add-PnPSiteDesign": { - "body": [ - "Add-PnPSiteDesign -Title $1 -SiteScript $2" - ], - "description": "Allows to add a new Site Design on the current tenant.", "prefix": [ "Add-PnPSiteDesign" + ], + "description": "Allows to add a new Site Design on the current tenant.", + "body": [ + "Add-PnPSiteDesign -Title $1 -SiteScript $2" ] }, "Add-PnPSiteDesignFromWeb": { - "body": [ - "Add-PnPSiteDesignFromWeb -Title $1" + "prefix": [ + "Add-PnPSiteDesignFromWeb" ], "description": [ "Creates a new Site Design on the current tenant based on the site provided through -Url or the currently connected to site if -Url is omitted. It combines the steps of Get-PnPSiteScriptFromWeb, Add-PnPSiteScript and Add-PnPSiteDesign into one cmdlet. The information returned from running the cmdlet is the information of the Site Design that has been created.", @@ -619,248 +619,248 @@ "Add-PnPSiteScript", "Add-PnPSiteDesign" ], - "prefix": [ - "Add-PnPSiteDesignFromWeb" + "body": [ + "Add-PnPSiteDesignFromWeb -Title $1" ] }, "Add-PnPSiteDesignTask": { - "body": [ - "Add-PnPSiteDesignTask -SiteDesignId $1" - ], - "description": "Allows to apply a site design to a specified site collection. This command is intended to be used when you need to apply a large number of actions or multiple site scripts.", "prefix": [ "Add-PnPSiteDesignTask" + ], + "description": "Allows to apply a site design to a specified site collection. This command is intended to be used when you need to apply a large number of actions or multiple site scripts.", + "body": [ + "Add-PnPSiteDesignTask -SiteDesignId $1" ] }, "Add-PnPSiteScript": { - "body": [ - "Add-PnPSiteScript -Title $1" - ], - "description": "Allows to add a Site Script on the current tenant.", "prefix": [ "Add-PnPSiteScript" + ], + "description": "Allows to add a Site Script on the current tenant.", + "body": [ + "Add-PnPSiteScript -Title $1" ] }, "Add-PnPSiteScriptPackage": { - "body": [ - "Add-PnPSiteScriptPackage -Title $1" - ], - "description": "Allows to add a new Site Script Package on the current tenant", "prefix": [ "Add-PnPSiteScriptPackage" + ], + "description": "Allows to add a new Site Script Package on the current tenant", + "body": [ + "Add-PnPSiteScriptPackage -Title $1" ] }, "Add-PnPSiteTemplate": { - "body": [ - "Add-PnPSiteTemplate -SiteTemplate $1 -TenantTemplate $2" - ], - "description": "Allows to add PnP Site Template object to a tenant template.", "prefix": [ "Add-PnPSiteTemplate" + ], + "description": "Allows to add PnP Site Template object to a tenant template.", + "body": [ + "Add-PnPSiteTemplate -SiteTemplate $1 -TenantTemplate $2" ] }, "Add-PnPStoredCredential": { - "body": [ - "Add-PnPStoredCredential -Name $1 -Username $2" + "prefix": [ + "Add-PnPStoredCredential" ], "description": [ "Adds an entry to the Windows Credential Manager or Mac OS Key Chain Entry. If you add an entry in the form of the URL of your tenant/server PnP PowerShell will check if that entry is available when you connect using Connect-PnPOnline. If it finds a matching URL it will use the associated credentials.", "If you add a Credential with a name of \"https://yourtenant.sharepoint.com\" it will find a match when you connect to \"https://yourtenant.sharepoint.com\" but also when you connect to \"https://yourtenant.sharepoint.com/sites/demo1\". Of course you can specify more granular entries, allow you to automatically provide credentials for different URLs." ], - "prefix": [ - "Add-PnPStoredCredential" + "body": [ + "Add-PnPStoredCredential -Name $1 -Username $2" ] }, "Add-PnPTaxonomyField": { - "body": [ - "Add-PnPTaxonomyField " - ], - "description": "Adds a taxonomy/managed metadata field to a list or as a site column.", "prefix": [ "Add-PnPTaxonomyField" + ], + "description": "Adds a taxonomy/managed metadata field to a list or as a site column.", + "body": [ + "Add-PnPTaxonomyField " ] }, "Add-PnPTeamsChannel": { - "body": [ - "Add-PnPTeamsChannel -Team $1 -DisplayName $2" + "prefix": [ + "Add-PnPTeamsChannel" ], "description": [ "Allows to add channel to an existing team in Microsoft Teams. By using the IsFavoriteByDefault it is possible to specify if the channel will be visible for members by default.", "IsFavoriteByDefault" ], - "prefix": [ - "Add-PnPTeamsChannel" + "body": [ + "Add-PnPTeamsChannel -Team $1 -DisplayName $2" ] }, "Add-PnPTeamsChannelUser": { - "body": [ - "Add-PnPTeamsChannelUser -Team $1 -Channel $2 -User $3 -Role $4" - ], - "description": "Allows to add a user to a private channel in Microsoft Teams.", "prefix": [ "Add-PnPTeamsChannelUser" + ], + "description": "Allows to add a user to a private channel in Microsoft Teams.", + "body": [ + "Add-PnPTeamsChannelUser -Team $1 -Channel $2 -User $3 -Role $4" ] }, "Add-PnPTeamsTab": { - "body": [ - "Add-PnPTeamsTab -Team $1 -Channel $2 -DisplayName $3 -Type $4 -ContentUrl $5" + "prefix": [ + "Add-PnPTeamsTab" ], "description": [ "Allows to add a tab to an existing Channel. By using ContentUrl option you may specify the content of the tab.", "ContentUrl" ], - "prefix": [ - "Add-PnPTeamsTab" + "body": [ + "Add-PnPTeamsTab -Team $1 -Channel $2 -DisplayName $3 -Type $4 -ContentUrl $5" ] }, "Add-PnPTeamsTeam": { - "body": [ - "Add-PnPTeamsTeam " - ], - "description": "This command allows you to add a Teams team to an existing, Microsoft 365 group connected, site collection.", "prefix": [ "Add-PnPTeamsTeam" + ], + "description": "This command allows you to add a Teams team to an existing, Microsoft 365 group connected, site collection.", + "body": [ + "Add-PnPTeamsTeam " ] }, "Add-PnPTeamsUser": { - "body": [ - "Add-PnPTeamsUser -Team $1 -Channel $2 -User $3 -Role $4" - ], - "description": "This cmdlet adds one or more users to an existing Team.", "prefix": [ "Add-PnPTeamsUser" + ], + "description": "This cmdlet adds one or more users to an existing Team.", + "body": [ + "Add-PnPTeamsUser -Team $1 -Channel $2 -User $3 -Role $4" ] }, "Add-PnPTenantCdnOrigin": { - "body": [ - "Add-PnPTenantCdnOrigin -OriginUrl $1 -CdnType $2" + "prefix": [ + "Add-PnPTenantCdnOrigin" ], "description": [ "Add a new origin to the public or private CDN, on either Tenant level or on a single Site level. Effectively, a tenant admin points out to a document library, or a folder in the document library and requests that content in that library should be retrievable by using a CDN.", "You must be a SharePoint Online Administrator and a site collection administrator to run the cmdlet." ], - "prefix": [ - "Add-PnPTenantCdnOrigin" + "body": [ + "Add-PnPTenantCdnOrigin -OriginUrl $1 -CdnType $2" ] }, "Add-PnPTenantSequence": { - "body": [ - "Add-PnPTenantSequence -Template $1 -Sequence $2" - ], - "description": "Allows to add a a tenant sequence object to a tenant template.", "prefix": [ "Add-PnPTenantSequence" + ], + "description": "Allows to add a a tenant sequence object to a tenant template.", + "body": [ + "Add-PnPTenantSequence -Template $1 -Sequence $2" ] }, "Add-PnPTenantSequenceSite": { - "body": [ - "Add-PnPTenantSequenceSite -Site $1 -Sequence $2" - ], - "description": "Allows to add a existing tenant sequence site object to a tenant template.", "prefix": [ "Add-PnPTenantSequenceSite" + ], + "description": "Allows to add a existing tenant sequence site object to a tenant template.", + "body": [ + "Add-PnPTenantSequenceSite -Site $1 -Sequence $2" ] }, "Add-PnPTenantSequenceSubSite": { - "body": [ - "Add-PnPTenantSequenceSubSite -SubSite $1 -Site $2" - ], - "description": "Allows to add a tenant sequence sub site object to a tenant sequence site object.", "prefix": [ "Add-PnPTenantSequenceSubSite" + ], + "description": "Allows to add a tenant sequence sub site object to a tenant sequence site object.", + "body": [ + "Add-PnPTenantSequenceSubSite -SubSite $1 -Site $2" ] }, "Add-PnPTenantTheme": { - "body": [ - "Add-PnPTenantTheme " - ], - "description": "Adds or updates a theme to the tenant.", "prefix": [ "Add-PnPTenantTheme" + ], + "description": "Adds or updates a theme to the tenant.", + "body": [ + "Add-PnPTenantTheme " ] }, "Add-PnPTermToTerm": { - "body": [ - "Add-PnPTermToTerm -ParentTerm $1 -Name $2" - ], - "description": "This cmdlet adds a new taxonomy term as a child term to an existing term.", "prefix": [ "Add-PnPTermToTerm" + ], + "description": "This cmdlet adds a new taxonomy term as a child term to an existing term.", + "body": [ + "Add-PnPTermToTerm -ParentTerm $1 -Name $2" ] }, "Add-PnPView": { - "body": [ - "Add-PnPView " - ], - "description": "Allows to add a new view to a list.", "prefix": [ "Add-PnPView" + ], + "description": "Allows to add a new view to a list.", + "body": [ + "Add-PnPView " ] }, "Add-PnPViewsFromXML": { - "body": [ - "Add-PnPViewsFromXML " - ], - "description": "This cmdlet allows the creation of one or more views on a SharePoint Online list based on passing in an XML definition with the view details.", "prefix": [ "Add-PnPViewsFromXML" + ], + "description": "This cmdlet allows the creation of one or more views on a SharePoint Online list based on passing in an XML definition with the view details.", + "body": [ + "Add-PnPViewsFromXML " ] }, "Add-PnPVivaConnectionsDashboardACE": { - "body": [ - "Add-PnPVivaConnectionsDashboardACE " - ], - "description": "Allows to add a new an Adaptive card extension in the Viva Home dashboard page. Before running the command it is required you are connect to a SharePoint Home site and have configured the Viva connections page.", "prefix": [ "Add-PnPVivaConnectionsDashboardACE" + ], + "description": "Allows to add a new an Adaptive card extension in the Viva Home dashboard page. Before running the command it is required you are connect to a SharePoint Home site and have configured the Viva connections page.", + "body": [ + "Add-PnPVivaConnectionsDashboardACE " ] }, "Add-PnPWebhookSubscription": { - "body": [ - "Add-PnPWebhookSubscription " - ], - "description": "Allows to add a new Webhook subscription to a list.", "prefix": [ "Add-PnPWebhookSubscription" + ], + "description": "Allows to add a new Webhook subscription to a list.", + "body": [ + "Add-PnPWebhookSubscription " ] }, "Add-PnPWebPartToWebPartPage": { - "body": [ - "Add-PnPWebPartToWebPartPage -ServerRelativePageUrl $1 -Xml $2 -ZoneId $3 -ZoneIndex $4" + "prefix": [ + "Add-PnPWebPartToWebPartPage" ], "description": [ "Allows to add a web part to a web part page. Use the ZoneIndex option to specify the zone.", "ZoneIndex" ], - "prefix": [ - "Add-PnPWebPartToWebPartPage" + "body": [ + "Add-PnPWebPartToWebPartPage -ServerRelativePageUrl $1 -Xml $2 -ZoneId $3 -ZoneIndex $4" ] }, "Add-PnPWebPartToWikiPage": { - "body": [ - "Add-PnPWebPartToWikiPage -ServerRelativePageUrl $1 -Xml $2 -Row $3 -Column $4" + "prefix": [ + "Add-PnPWebPartToWikiPage" ], "description": [ "Allows to add a web part a wiki page. Use the Row and Column option to specify the location of the web part.", "Row", "Column" ], - "prefix": [ - "Add-PnPWebPartToWikiPage" + "body": [ + "Add-PnPWebPartToWikiPage -ServerRelativePageUrl $1 -Xml $2 -Row $3 -Column $4" ] }, "Add-PnPWikiPage": { - "body": [ - "Add-PnPWikiPage -ServerRelativePageUrl $1 -Content $2" - ], - "description": "Allows to add a wiki page.", "prefix": [ "Add-PnPWikiPage" + ], + "description": "Allows to add a wiki page.", + "body": [ + "Add-PnPWikiPage -ServerRelativePageUrl $1 -Content $2" ] }, "Approve-PnPTenantServicePrincipalPermissionRequest": { - "body": [ - "Approve-PnPTenantServicePrincipalPermissionRequest -RequestId $1" + "prefix": [ + "Approve-PnPTenantServicePrincipalPermissionRequest" ], "description": [ "Approves a permission request for the current tenant's \"SharePoint Online Client\" service principal", @@ -868,146 +868,146 @@ "To get the collection of permission grants for the \"SharePoint Online Client\" service principal, use the Get-PnPTenantServicePrincipalPermissionGrants command.", "Approving a permission request also removes that request from the list of permission requests." ], - "prefix": [ - "Approve-PnPTenantServicePrincipalPermissionRequest" + "body": [ + "Approve-PnPTenantServicePrincipalPermissionRequest -RequestId $1" ] }, "Clear-PnPAzureADGroupMember": { - "body": [ - "Clear-PnPAzureADGroupMember -Identity $1" - ], - "description": "Allows to remove all current members from specified Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.", "prefix": [ "Clear-PnPAzureADGroupMember" + ], + "description": "Allows to remove all current members from specified Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.", + "body": [ + "Clear-PnPAzureADGroupMember -Identity $1" ] }, "Clear-PnPAzureADGroupOwner": { - "body": [ - "Clear-PnPAzureADGroupOwner -Identity $1" - ], - "description": "Allows to remove all current owners from specified Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.", "prefix": [ "Clear-PnPAzureADGroupOwner" + ], + "description": "Allows to remove all current owners from specified Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.", + "body": [ + "Clear-PnPAzureADGroupOwner -Identity $1" ] }, "Clear-PnPDefaultColumnValues": { - "body": [ - "Clear-PnPDefaultColumnValues " - ], - "description": "Clear default column values for a document library, per folder, or for the root folder if the folder parameter has not been specified.", "prefix": [ "Clear-PnPDefaultColumnValues" + ], + "description": "Clear default column values for a document library, per folder, or for the root folder if the folder parameter has not been specified.", + "body": [ + "Clear-PnPDefaultColumnValues " ] }, "Clear-PnPListItemAsRecord": { - "body": [ - "Clear-PnPListItemAsRecord " - ], - "description": "Allows to un declares a list item in a list as a record.", "prefix": [ "Clear-PnPListItemAsRecord" + ], + "description": "Allows to un declares a list item in a list as a record.", + "body": [ + "Clear-PnPListItemAsRecord " ] }, "Clear-PnPMicrosoft365GroupMember": { - "body": [ - "Clear-PnPMicrosoft365GroupMember -Identity $1" - ], - "description": "Allows to remove all current members from a specified Microsoft 365 Group.", "prefix": [ "Clear-PnPMicrosoft365GroupMember" + ], + "description": "Allows to remove all current members from a specified Microsoft 365 Group.", + "body": [ + "Clear-PnPMicrosoft365GroupMember -Identity $1" ] }, "Clear-PnPMicrosoft365GroupOwner": { - "body": [ - "Clear-PnPMicrosoft365GroupOwner -Identity $1" - ], - "description": "Allows to remove all current owners from a specified Microsoft 365 Group.", "prefix": [ "Clear-PnPMicrosoft365GroupOwner" + ], + "description": "Allows to remove all current owners from a specified Microsoft 365 Group.", + "body": [ + "Clear-PnPMicrosoft365GroupOwner -Identity $1" ] }, "Clear-PnPRecycleBinItem": { - "body": [ - "Clear-PnPRecycleBinItem " + "prefix": [ + "Clear-PnPRecycleBinItem" ], "description": [ "Allows to permanently delete items from recycle bin. By default the command will delete all items but it is allowed to specify the items by using the Identity or RowLimit options.", "Identity", "RowLimit" ], - "prefix": [ - "Clear-PnPRecycleBinItem" + "body": [ + "Clear-PnPRecycleBinItem " ] }, "Clear-PnPTenantAppCatalogUrl": { - "body": [ - "Clear-PnPTenantAppCatalogUrl " - ], - "description": "Allows to remove the url of the tenant scoped app catalog. The app catalog site collection will not be removed.", "prefix": [ "Clear-PnPTenantAppCatalogUrl" + ], + "description": "Allows to remove the url of the tenant scoped app catalog. The app catalog site collection will not be removed.", + "body": [ + "Clear-PnPTenantAppCatalogUrl " ] }, "Clear-PnPTenantRecycleBinItem": { - "body": [ - "Clear-PnPTenantRecycleBinItem -Url $1" - ], - "description": "The Clear-PnPTenantRecycleBinItem cmdlet allows a site collection that has been deleted and still exists in the tenant recycle bin to be permanently deleted from the recycle bin as well.", "prefix": [ "Clear-PnPTenantRecycleBinItem" + ], + "description": "The Clear-PnPTenantRecycleBinItem cmdlet allows a site collection that has been deleted and still exists in the tenant recycle bin to be permanently deleted from the recycle bin as well.", + "body": [ + "Clear-PnPTenantRecycleBinItem -Url $1" ] }, "Connect-PnPOnline": { - "body": [ - "Connect-PnPOnline " + "prefix": [ + "Connect-PnPOnline" ], "description": [ "Connects to a SharePoint site or another API and creates a context that is required for the other PnP Cmdlets. See https://pnp.github.io/powershell/articles/connecting.html for more information on the options to connect.", "https://pnp.github.io/powershell/articles/connecting.html" ], - "prefix": [ - "Connect-PnPOnline" + "body": [ + "Connect-PnPOnline " ] }, "Convert-PnPFile": { - "body": [ - "Convert-PnPFile -Url $1 -Path $2" - ], - "description": "Allows converting of a file from SharePoint Online. The file contents can either be directly saved to local disk, or stored in memory for further processing, or Can be uploaded back to SharePoint Online SiteCollection", "prefix": [ "Convert-PnPFile" + ], + "description": "Allows converting of a file from SharePoint Online. The file contents can either be directly saved to local disk, or stored in memory for further processing, or Can be uploaded back to SharePoint Online SiteCollection", + "body": [ + "Convert-PnPFile -Url $1 -Path $2" ] }, "Convert-PnPFolderToSiteTemplate": { - "body": [ - "Convert-PnPFolderToSiteTemplate " - ], - "description": "Allows to convert the current folder together with all files, to a pnp package file of and existing template xml.", "prefix": [ "Convert-PnPFolderToSiteTemplate" + ], + "description": "Allows to convert the current folder together with all files, to a pnp package file of and existing template xml.", + "body": [ + "Convert-PnPFolderToSiteTemplate " ] }, "Convert-PnPSiteTemplate": { - "body": [ - "Convert-PnPSiteTemplate " - ], - "description": "Allows to convert a provisioning template to an other schema version.", "prefix": [ "Convert-PnPSiteTemplate" + ], + "description": "Allows to convert a provisioning template to an other schema version.", + "body": [ + "Convert-PnPSiteTemplate " ] }, "Convert-PnPSiteTemplateToMarkdown": { - "body": [ - "Convert-PnPSiteTemplateToMarkdown -TemplatePath $1" - ], - "description": "Converts an existing PnP Site Template to markdown report. Notice that this cmdlet is work in work progress, and the completeness of the report will increase in the future.", "prefix": [ "Convert-PnPSiteTemplateToMarkdown" + ], + "description": "Converts an existing PnP Site Template to markdown report. Notice that this cmdlet is work in work progress, and the completeness of the report will increase in the future.", + "body": [ + "Convert-PnPSiteTemplateToMarkdown -TemplatePath $1" ] }, "ConvertTo-PnPPage": { - "body": [ - "ConvertTo-PnPPage -Identity $1" + "prefix": [ + "ConvertTo-PnPPage" ], "description": [ "EXAMPLE 1", @@ -1072,39 +1072,39 @@ "ConvertTo-PnPPage -Identity \"somepage.aspx\" -PublishingPage -Overwrite -TargetConnection $target -UserMappingFile c:\\\\temp\\user_mapping_file.csv", "Converts a publishing page named 'somepage' to a client side page in the site specified by the TargetConnection connection. This allows to read a page in on-premises environment and create in another online locations including using specific user mappings between the two environments." ], - "prefix": [ - "ConvertTo-PnPPage" + "body": [ + "ConvertTo-PnPPage -Identity $1" ] }, "Copy-PnPFile": { - "body": [ - "Copy-PnPFile " + "prefix": [ + "Copy-PnPFile" ], "description": [ "Copies a file or folder to a different location. This location can be within the same document library, same site, same site collection or even to another site collection on the same tenant. Notice that if copying between sites or to a subsite you cannot specify a target filename, only a folder name. It is currently not possible to copy files between a OneDrive for Business site to SharePoint or vice versa.", "Copying files and folders is bound to some restrictions. You can find more on it here: https://learn.microsoft.com/office365/servicedescriptions/sharepoint-online-service-description/sharepoint-online-limits#moving-and-copying-across-sites", "https://learn.microsoft.com/office365/servicedescriptions/sharepoint-online-service-description/sharepoint-online-limits#moving-and-copying-across-sites" ], - "prefix": [ - "Copy-PnPFile" + "body": [ + "Copy-PnPFile " ] }, "Copy-PnPFolder": { - "body": [ - "Copy-PnPFolder " + "prefix": [ + "Copy-PnPFolder" ], "description": [ "Copies a folder or file to a different location. This location can be within the same document library, same site, same site collection or even to another site collection on the same tenant. Notice that if copying between sites or to a subsite you cannot specify a target filename, only a folder name.", "Copying files and folders is bound to some restrictions. You can find more on it here: https://learn.microsoft.com/office365/servicedescriptions/sharepoint-online-service-description/sharepoint-online-limits#moving-and-copying-across-sites", "https://learn.microsoft.com/office365/servicedescriptions/sharepoint-online-service-description/sharepoint-online-limits#moving-and-copying-across-sites" ], - "prefix": [ - "Copy-PnPFolder" + "body": [ + "Copy-PnPFolder " ] }, "Copy-PnPItemProxy": { - "body": [ - "Copy-PnPItemProxy " + "prefix": [ + "Copy-PnPItemProxy" ], "description": [ "This cmdlet is an alias of the Copy-Item cmdlet that is natively available with PowerShell.", @@ -1117,22 +1117,22 @@ "For more information and details, please refer to the official PowerShell documentation here.", "here" ], - "prefix": [ - "Copy-PnPItemProxy" + "body": [ + "Copy-PnPItemProxy " ] }, "Copy-PnPList": { - "body": [ - "Copy-PnPList -Identity $1 -Title $2" - ], - "description": "This cmdlet allows an existing list to be copied to either the same site or to another site (same tenant). It copies the fields, views and settings of the list. It does not copy along the list items in the list. If you wish to copy a list from one tenant to another, you will have to export the list as a provisioning template, and then apply the template to the target tenant.", "prefix": [ "Copy-PnPList" + ], + "description": "This cmdlet allows an existing list to be copied to either the same site or to another site (same tenant). It copies the fields, views and settings of the list. It does not copy along the list items in the list. If you wish to copy a list from one tenant to another, you will have to export the list as a provisioning template, and then apply the template to the target tenant.", + "body": [ + "Copy-PnPList -Identity $1 -Title $2" ] }, "Copy-PnPTeamsTeam": { - "body": [ - "Copy-PnPTeamsTeam -DisplayName $1 -Identity $2" + "prefix": [ + "Copy-PnPTeamsTeam" ], "description": [ "Using this command, global admins and Microsoft Teams service admins can access teams that they are not a member of to make a copy of them.", @@ -1140,88 +1140,88 @@ "apps - Copies Microsoft Teams apps that are installed in the team. channels – Copies the channel structure (but not the messages in the channel). members – Copies the members and owners of the group. settings – Copies all settings within the team, along with key group settings. tabs – Copies the tabs within channels.", "When tabs are cloned, they are put into an un configured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured." ], - "prefix": [ - "Copy-PnPTeamsTeam" + "body": [ + "Copy-PnPTeamsTeam -DisplayName $1 -Identity $2" ] }, "Deny-PnPTenantServicePrincipalPermissionRequest": { - "body": [ - "Deny-PnPTenantServicePrincipalPermissionRequest -RequestId $1" + "prefix": [ + "Deny-PnPTenantServicePrincipalPermissionRequest" ], "description": [ "Denies a permission request for the current tenant's \"SharePoint Online Client\" service principal", "Denying a permission request removes that request from the list of permission requests." ], - "prefix": [ - "Deny-PnPTenantServicePrincipalPermissionRequest" + "body": [ + "Deny-PnPTenantServicePrincipalPermissionRequest -RequestId $1" ] }, "Disable-PnPFeature": { - "body": [ - "Disable-PnPFeature " - ], - "description": "Deactivates a feature that was active on a site", "prefix": [ "Disable-PnPFeature" + ], + "description": "Deactivates a feature that was active on a site", + "body": [ + "Disable-PnPFeature " ] }, "Disable-PnPFlow": { - "body": [ - "Disable-PnPFlow -Environment $1 -Identity $2" - ], - "description": "This cmdlet disables a specific flow", "prefix": [ "Disable-PnPFlow" + ], + "description": "This cmdlet disables a specific flow", + "body": [ + "Disable-PnPFlow -Environment $1 -Identity $2" ] }, "Disable-PnPPageScheduling": { - "body": [ - "Disable-PnPPageScheduling " - ], - "description": "This will disable page publishing scheduling on modern sites", "prefix": [ "Disable-PnPPageScheduling" + ], + "description": "This will disable page publishing scheduling on modern sites", + "body": [ + "Disable-PnPPageScheduling " ] }, "Disable-PnPPowerShellTelemetry": { - "body": [ - "Disable-PnPPowerShellTelemetry " - ], - "description": "This cmdlet disables sending of telemetry data.", "prefix": [ "Disable-PnPPowerShellTelemetry" + ], + "description": "This cmdlet disables sending of telemetry data.", + "body": [ + "Disable-PnPPowerShellTelemetry " ] }, "Disable-PnPSharingForNonOwnersOfSite": { - "body": [ - "Disable-PnPSharingForNonOwnersOfSite " - ], - "description": "Configures the site to only allow sharing of the site and items in the site by owners. At this point there is no interface available yet to undo this action through script. You will have to do so through the user interface of SharePoint.", "prefix": [ "Disable-PnPSharingForNonOwnersOfSite" + ], + "description": "Configures the site to only allow sharing of the site and items in the site by owners. At this point there is no interface available yet to undo this action through script. You will have to do so through the user interface of SharePoint.", + "body": [ + "Disable-PnPSharingForNonOwnersOfSite " ] }, "Disable-PnPSiteClassification": { - "body": [ - "Disable-PnPSiteClassification " - ], - "description": "Allows to disable site classifications for the tenant.", "prefix": [ "Disable-PnPSiteClassification" + ], + "description": "Allows to disable site classifications for the tenant.", + "body": [ + "Disable-PnPSiteClassification " ] }, "Disable-PnPTenantServicePrincipal": { - "body": [ - "Disable-PnPTenantServicePrincipal " - ], - "description": "Enables the current tenant's \"SharePoint Online Client\" service principal.", "prefix": [ "Disable-PnPTenantServicePrincipal" + ], + "description": "Enables the current tenant's \"SharePoint Online Client\" service principal.", + "body": [ + "Disable-PnPTenantServicePrincipal " ] }, "Disconnect-PnPOnline": { - "body": [ - "Disconnect-PnPOnline " + "prefix": [ + "Disconnect-PnPOnline" ], "description": [ "Disconnects the current connection and clears its token cache. It will require you to build up a new connection again using Connect-PnPOnline in order to use any of the PnP PowerShell cmdlets. You will have to reauthenticate. If instead you simply want to connect to another site collection within the same tenant using the same credentials you used previously, do not use this cmdlet but instead use Connect-PnPOnline -Url https://tenant.sharepoint.com/sites/othersite instead without disconnecting. It will try to reuse the existing authentication method and cached credentials.", @@ -1231,106 +1231,106 @@ "$variable = Connect-PnPOnline -ReturnConnection", "$variable = $null" ], - "prefix": [ - "Disconnect-PnPOnline" + "body": [ + "Disconnect-PnPOnline " ] }, "Enable-PnPCommSite": { - "body": [ - "Enable-PnPCommSite " - ], - "description": "This command will enable the modern site experience on a classic team site. The site must be the root site of the site collection.", "prefix": [ "Enable-PnPCommSite" + ], + "description": "This command will enable the modern site experience on a classic team site. The site must be the root site of the site collection.", + "body": [ + "Enable-PnPCommSite " ] }, "Enable-PnPFeature": { - "body": [ - "Enable-PnPFeature " - ], - "description": "Allows to enable to feature.", "prefix": [ "Enable-PnPFeature" + ], + "description": "Allows to enable to feature.", + "body": [ + "Enable-PnPFeature " ] }, "Enable-PnPFlow": { - "body": [ - "Enable-PnPFlow -Environment $1 -Identity $2" - ], - "description": "This cmdlet enables a specific flow", "prefix": [ "Enable-PnPFlow" + ], + "description": "This cmdlet enables a specific flow", + "body": [ + "Enable-PnPFlow -Environment $1 -Identity $2" ] }, "Enable-PnPPageScheduling": { - "body": [ - "Enable-PnPPageScheduling " - ], - "description": "This will enable page publishing scheduling on modern sites", "prefix": [ "Enable-PnPPageScheduling" + ], + "description": "This will enable page publishing scheduling on modern sites", + "body": [ + "Enable-PnPPageScheduling " ] }, "Enable-PnPPowerShellTelemetry": { - "body": [ - "Enable-PnPPowerShellTelemetry " - ], - "description": "This cmdlet Enables sending of telemetry data.", "prefix": [ "Enable-PnPPowerShellTelemetry" + ], + "description": "This cmdlet Enables sending of telemetry data.", + "body": [ + "Enable-PnPPowerShellTelemetry " ] }, "Enable-PnPSiteClassification": { - "body": [ - "Enable-PnPSiteClassification -Classifications $1 -DefaultClassification $2" - ], - "description": "Allows to enable site classifications for the tenant.", "prefix": [ "Enable-PnPSiteClassification" + ], + "description": "Allows to enable site classifications for the tenant.", + "body": [ + "Enable-PnPSiteClassification -Classifications $1 -DefaultClassification $2" ] }, "Enable-PnPTenantServicePrincipal": { - "body": [ - "Enable-PnPTenantServicePrincipal " - ], - "description": "Enables the current tenant's \"SharePoint Online Client\" service principal.", "prefix": [ "Enable-PnPTenantServicePrincipal" + ], + "description": "Enables the current tenant's \"SharePoint Online Client\" service principal.", + "body": [ + "Enable-PnPTenantServicePrincipal " ] }, "Export-PnPFlow": { - "body": [ - "Export-PnPFlow -Environment $1 -Identity $2" + "prefix": [ + "Export-PnPFlow" ], "description": [ "This cmdlet exports a Microsoft Power Automate Flow either as a json file or as a zip package.", "Many times exporting a Microsoft Power Automate Flow will not be possible due to various reasons such as connections having gone stale, SharePoint sites referenced no longer existing or other configuration errors in the Flow. To display these errors when trying to export a Flow, provide the -Verbose flag with your export request. If not provided, these errors will silently be ignored." ], - "prefix": [ - "Export-PnPFlow" + "body": [ + "Export-PnPFlow -Environment $1 -Identity $2" ] }, "Export-PnPListToSiteTemplate": { - "body": [ - "Export-PnPListToSiteTemplate -List $1" - ], - "description": "Allows to export one or more lists to provisioning template.", "prefix": [ "Export-PnPListToSiteTemplate" + ], + "description": "Allows to export one or more lists to provisioning template.", + "body": [ + "Export-PnPListToSiteTemplate -List $1" ] }, "Export-PnPPage": { - "body": [ - "Export-PnPPage " - ], - "description": "Allows to export a Client Side Page to a PnP Provisioning Template.", "prefix": [ "Export-PnPPage" + ], + "description": "Allows to export a Client Side Page to a PnP Provisioning Template.", + "body": [ + "Export-PnPPage " ] }, "Export-PnPPageMapping": { - "body": [ - "Export-PnPPageMapping " + "prefix": [ + "Export-PnPPageMapping" ], "description": [ "EXAMPLE 1", @@ -1346,132 +1346,132 @@ "Export-PnPPageMapping -BuiltInWebPartMapping -Folder c:\\\\temp -Overwrite", "Exports the built in webpart mapping to a file in folder c:\\temp. Use this a starting basis if you want to tailer the web part mapping behavior." ], - "prefix": [ - "Export-PnPPageMapping" + "body": [ + "Export-PnPPageMapping " ] }, "Export-PnPPowerApp": { - "body": [ - "Export-PnPPowerApp -Environment $1 -Identity $2" + "prefix": [ + "Export-PnPPowerApp" ], "description": [ "This cmdlet exports a Microsoft Power App as zip package.", "Many times exporting a Microsoft Power App will not be possible due to various reasons such as connections having gone stale, SharePoint sites referenced no longer existing or other configuration errors in the App. To display these errors when trying to export a App, provide the -Verbose flag with your export request. If not provided, these errors will silently be ignored." ], - "prefix": [ - "Export-PnPPowerApp" + "body": [ + "Export-PnPPowerApp -Environment $1 -Identity $2" ] }, "Export-PnPTaxonomy": { - "body": [ - "Export-PnPTaxonomy " - ], - "description": "Allows to export a taxonomy to either the output or to a file.", "prefix": [ "Export-PnPTaxonomy" + ], + "description": "Allows to export a taxonomy to either the output or to a file.", + "body": [ + "Export-PnPTaxonomy " ] }, "Export-PnPTermGroupToXml": { - "body": [ - "Export-PnPTermGroupToXml " - ], - "description": "Allows to export a taxonomy TermGroup to either the output or to an XML file.", "prefix": [ "Export-PnPTermGroupToXml" + ], + "description": "Allows to export a taxonomy TermGroup to either the output or to an XML file.", + "body": [ + "Export-PnPTermGroupToXml " ] }, "Export-PnPUserInfo": { - "body": [ - "Export-PnPUserInfo -LoginName $1" - ], - "description": "Export user information from the site user information list. If the Site parameter has not been specified, the current connect to site will be used.", "prefix": [ "Export-PnPUserInfo" + ], + "description": "Export user information from the site user information list. If the Site parameter has not been specified, the current connect to site will be used.", + "body": [ + "Export-PnPUserInfo -LoginName $1" ] }, "Export-PnPUserProfile": { - "body": [ - "Export-PnPUserProfile -LoginName $1" - ], - "description": "Export user profile data.", "prefix": [ "Export-PnPUserProfile" + ], + "description": "Export user profile data.", + "body": [ + "Export-PnPUserProfile -LoginName $1" ] }, "Find-PnPFile": { - "body": [ - "Find-PnPFile " - ], - "description": "Allows to find a file in the virtual file system of the web.", "prefix": [ "Find-PnPFile" + ], + "description": "Allows to find a file in the virtual file system of the web.", + "body": [ + "Find-PnPFile " ] }, "Get-PnPAccessToken": { - "body": [ - "Get-PnPAccessToken " + "prefix": [ + "Get-PnPAccessToken" ], "description": [ "Gets the OAuth 2.0 Access Token to consume the Microsoft Graph API. Doesn't work with all Connect-PnPOnline options. To retrieve the SharePoint Online access token, you can also use Get-PnPAppAuthAccessToken.", "Get-PnPAppAuthAccessToken" ], - "prefix": [ - "Get-PnPAccessToken" + "body": [ + "Get-PnPAccessToken " ] }, "Get-PnPAlert": { - "body": [ - "Get-PnPAlert " + "prefix": [ + "Get-PnPAlert" ], "description": [ "Allows to retrieve all registered alerts for given users. Using AllUsers option will allow to retrieve all alerts in the current site, regardless of the user or list it belongs to.", "AllUsers" ], - "prefix": [ - "Get-PnPAlert" + "body": [ + "Get-PnPAlert " ] }, "Get-PnPApp": { - "body": [ - "Get-PnPApp " + "prefix": [ + "Get-PnPApp" ], "description": [ "Allows to retrieve available apps from the app catalog. In order to get apps from site collection scoped app catalog set Scope option to Site.", "Scope", "Site" ], - "prefix": [ - "Get-PnPApp" + "body": [ + "Get-PnPApp " ] }, "Get-PnPAppAuthAccessToken": { - "body": [ - "Get-PnPAppAuthAccessToken " + "prefix": [ + "Get-PnPAppAuthAccessToken" ], "description": [ "Returns the SharePoint Online access token from the current client context. This will only work in the App authentication flow (App+user or App-Only). For the Microsoft Graph access token, use Get-PnPAccessToken instead.", "Get-PnPAccessToken" ], - "prefix": [ - "Get-PnPAppAuthAccessToken" + "body": [ + "Get-PnPAppAuthAccessToken " ] }, "Get-PnPAppErrors": { - "body": [ - "Get-PnPAppErrors -ProductId $1" + "prefix": [ + "Get-PnPAppErrors" ], "description": [ "The Get-PnPAppErrors cmdlet returns application monitoring errors (if available) for the application that is specified by ProductId between StartTimeInUtc in Coordinated Universal Time (UTC) and EndTimeInUtc in UTC.", "Based on server configuration, errors are available for a limited time. The default is seven days. Older errors are purged. Date time values that are older than 50 years or later than 20 years from today are considered invalid", "Each error includes the error message, time in UTC that error happened, the site where the error happened, and the error type. Values for error type are as follows: 0 - None, 1 - Install Error, 2 - Upgrade Error, 3 - Runtime Error." ], - "prefix": [ - "Get-PnPAppErrors" + "body": [ + "Get-PnPAppErrors -ProductId $1" ] }, "Get-PnPAppInfo": { - "body": [ - "Get-PnPAppInfo -ProductId $1" + "prefix": [ + "Get-PnPAppInfo" ], "description": [ "The Get-PnPAppInfo cmdlet gets all the installed applications from an external marketplace or from the App Catalog that contain Name in their application names or the installed application with mentioned ProductId.", @@ -1479,500 +1479,500 @@ "ProductId", "The returned collection of installed applications contains Product ID (GUID), Product name and Source." ], - "prefix": [ - "Get-PnPAppInfo" + "body": [ + "Get-PnPAppInfo -ProductId $1" ] }, "Get-PnPApplicationCustomizer": { - "body": [ - "Get-PnPApplicationCustomizer " - ], - "description": "Returns all SharePoint Framework client side extension application customizers registered on the current web and/or site", "prefix": [ "Get-PnPApplicationCustomizer" + ], + "description": "Returns all SharePoint Framework client side extension application customizers registered on the current web and/or site", + "body": [ + "Get-PnPApplicationCustomizer " ] }, "Get-PnPAuditing": { - "body": [ - "Get-PnPAuditing " - ], - "description": "Allows to get the auditing setting of the site.", "prefix": [ "Get-PnPAuditing" + ], + "description": "Allows to get the auditing setting of the site.", + "body": [ + "Get-PnPAuditing " ] }, "Get-PnPAuthenticationRealm": { - "body": [ - "Get-PnPAuthenticationRealm " - ], - "description": "Gets the authentication realm for the current web", "prefix": [ "Get-PnPAuthenticationRealm" + ], + "description": "Gets the authentication realm for the current web", + "body": [ + "Get-PnPAuthenticationRealm " ] }, "Get-PnPAvailableLanguage": { - "body": [ - "Get-PnPAvailableLanguage " - ], - "description": "Allows to retrieve available languages from the current site.", "prefix": [ "Get-PnPAvailableLanguage" + ], + "description": "Allows to retrieve available languages from the current site.", + "body": [ + "Get-PnPAvailableLanguage " ] }, "Get-PnPAvailableSensitivityLabel": { - "body": [ - "Get-PnPAvailableSensitivityLabel " + "prefix": [ + "Get-PnPAvailableSensitivityLabel" ], "description": [ "This cmdlet allows retrieval of the available Microsoft Purview sensitivity labels in the currently connected tenant. You can retrieve all the labels, a specific label or all the labels available to a specific user. When connected with a delegate token, it will return the Microsoft Purview sensitivity labels for the user you logged on with. When connecting with an application token, it will return all available Microsoft Purview sensitivity labels on the tenant.", "For retrieval of the available classic Site Classification, use Get-PnPAvailableSiteClassification instead.", "Get-PnPAvailableSiteClassification" ], - "prefix": [ - "Get-PnPAvailableSensitivityLabel" + "body": [ + "Get-PnPAvailableSensitivityLabel " ] }, "Get-PnPAvailableSiteClassification": { - "body": [ - "Get-PnPAvailableSiteClassification " + "prefix": [ + "Get-PnPAvailableSiteClassification" ], "description": [ "This cmdlet allows for retrieving the configuration of the classic site classifications configured within the tenant. For the new Microsoft Purview sensitivity labels, use Get-PnPAvailableSensitivityLabel instead.", "Get-PnPAvailableSensitivityLabel" ], - "prefix": [ - "Get-PnPAvailableSiteClassification" + "body": [ + "Get-PnPAvailableSiteClassification " ] }, "Get-PnPAzureACSPrincipal": { - "body": [ - "Get-PnPAzureACSPrincipal " - ], - "description": "This cmdlet provides insight into the app registrations that have been done over time using AppRegNew.aspx. You could look at it as a (detailed) equivallent of AppPrincipals.aspx. This information can help to get insights into the app registrations that have been done on a tenant and prepare for the Azure Access Control Services (ACS) deprecation that will follow in the future.", "prefix": [ "Get-PnPAzureACSPrincipal" + ], + "description": "This cmdlet provides insight into the app registrations that have been done over time using AppRegNew.aspx. You could look at it as a (detailed) equivallent of AppPrincipals.aspx. This information can help to get insights into the app registrations that have been done on a tenant and prepare for the Azure Access Control Services (ACS) deprecation that will follow in the future.", + "body": [ + "Get-PnPAzureACSPrincipal " ] }, "Get-PnPAzureADActivityReportDirectoryAudit": { - "body": [ - "Get-PnPAzureADActivityReportDirectoryAudit " - ], - "description": "This cmdlet gets the list of audit logs generated by AzureAD. This includes audit logs generated by different services in Azure AD such as user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets) and others.", "prefix": [ "Get-PnPAzureADActivityReportDirectoryAudit" + ], + "description": "This cmdlet gets the list of audit logs generated by AzureAD. This includes audit logs generated by different services in Azure AD such as user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets) and others.", + "body": [ + "Get-PnPAzureADActivityReportDirectoryAudit " ] }, "Get-PnPAzureADActivityReportSignIn": { - "body": [ - "Get-PnPAzureADActivityReportSignIn " - ], - "description": "This cmdlet gets the list of sign in logs generated by Azure AD.", "prefix": [ "Get-PnPAzureADActivityReportSignIn" + ], + "description": "This cmdlet gets the list of sign in logs generated by Azure AD.", + "body": [ + "Get-PnPAzureADActivityReportSignIn " ] }, "Get-PnPAzureADApp": { - "body": [ - "Get-PnPAzureADApp " - ], - "description": "This cmdlets returns all app registrations, a specific one or ones matching a provided filter.", "prefix": [ "Get-PnPAzureADApp" + ], + "description": "This cmdlets returns all app registrations, a specific one or ones matching a provided filter.", + "body": [ + "Get-PnPAzureADApp " ] }, "Get-PnPAzureADAppPermission": { - "body": [ - "Get-PnPAzureADAppPermission " - ], - "description": "This cmdlet returns the appid, displayname and permissions set for Microsoft SharePoint and the Microsoft Graph APIs.", "prefix": [ "Get-PnPAzureADAppPermission" + ], + "description": "This cmdlet returns the appid, displayname and permissions set for Microsoft SharePoint and the Microsoft Graph APIs.", + "body": [ + "Get-PnPAzureADAppPermission " ] }, "Get-PnPAzureADAppSitePermission": { - "body": [ - "Get-PnPAzureADAppSitePermission " - ], - "description": "This cmdlet returns app permissions for either the current or a given site.", "prefix": [ "Get-PnPAzureADAppSitePermission" + ], + "description": "This cmdlet returns app permissions for either the current or a given site.", + "body": [ + "Get-PnPAzureADAppSitePermission " ] }, "Get-PnPAzureADGroup": { - "body": [ - "Get-PnPAzureADGroup " + "prefix": [ + "Get-PnPAzureADGroup" ], "description": [ "Allows to retrieve a list of Azure Active Directory groups. Those can be a security, distribution or Microsoft 365 group. By specifying Identity option it is possible to get a single group.", "Identity" ], - "prefix": [ - "Get-PnPAzureADGroup" + "body": [ + "Get-PnPAzureADGroup " ] }, "Get-PnPAzureADGroupMember": { - "body": [ - "Get-PnPAzureADGroupMember -Identity $1" - ], - "description": "Allows to list members from given Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.", "prefix": [ "Get-PnPAzureADGroupMember" + ], + "description": "Allows to list members from given Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.", + "body": [ + "Get-PnPAzureADGroupMember -Identity $1" ] }, "Get-PnPAzureADGroupOwner": { - "body": [ - "Get-PnPAzureADGroupOwner -Identity $1" - ], - "description": "Allows to list owners from a given Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.", "prefix": [ "Get-PnPAzureADGroupOwner" + ], + "description": "Allows to list owners from a given Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.", + "body": [ + "Get-PnPAzureADGroupOwner -Identity $1" ] }, "Get-PnPAzureADServicePrincipal": { - "body": [ - "Get-PnPAzureADServicePrincipal " - ], - "description": "Allows retrieval of all service principals/app registrations in Azure Active Directory or a specific service principal/app registration based on the AppId, ObjectId or AppName. This will include both application registrations as well as enterprise applications in Azure Active Directory.", "prefix": [ "Get-PnPAzureADServicePrincipal" + ], + "description": "Allows retrieval of all service principals/app registrations in Azure Active Directory or a specific service principal/app registration based on the AppId, ObjectId or AppName. This will include both application registrations as well as enterprise applications in Azure Active Directory.", + "body": [ + "Get-PnPAzureADServicePrincipal " ] }, "Get-PnPAzureADServicePrincipalAssignedAppRole": { - "body": [ - "Get-PnPAzureADServicePrincipalAssignedAppRole -Principal $1" - ], - "description": "Allows retrieval of currently assigned app roles of a specific service principals/app registration in Azure Active Directory.", "prefix": [ "Get-PnPAzureADServicePrincipalAssignedAppRole" + ], + "description": "Allows retrieval of currently assigned app roles of a specific service principals/app registration in Azure Active Directory.", + "body": [ + "Get-PnPAzureADServicePrincipalAssignedAppRole -Principal $1" ] }, "Get-PnPAzureADServicePrincipalAvailableAppRole": { - "body": [ - "Get-PnPAzureADServicePrincipalAvailableAppRole -Principal $1" + "prefix": [ + "Get-PnPAzureADServicePrincipalAvailableAppRole" ], "description": [ "Allows retrieval of all available app roles of a specific service principals/app registration in Azure Active Directory. To retrieve the app roles currently assigned to a specific service principal/application registration, use Get-PnPAzureADServicePrincipalAssignedAppRole instead.", "Get-PnPAzureADServicePrincipalAssignedAppRole" ], - "prefix": [ - "Get-PnPAzureADServicePrincipalAvailableAppRole" + "body": [ + "Get-PnPAzureADServicePrincipalAvailableAppRole -Principal $1" ] }, "Get-PnPAzureADUser": { - "body": [ - "Get-PnPAzureADUser " - ], - "description": "Allows to retrieve a single user or a list of users from Azure Active Directory.", "prefix": [ "Get-PnPAzureADUser" + ], + "description": "Allows to retrieve a single user or a list of users from Azure Active Directory.", + "body": [ + "Get-PnPAzureADUser " ] }, "Get-PnPAzureCertificate": { - "body": [ - "Get-PnPAzureCertificate -Path $1" - ], - "description": "Allows to PEM values and manifest settings for an existing certificate (.pfx) for use when using CSOM via an app-only ADAL application.", "prefix": [ "Get-PnPAzureCertificate" + ], + "description": "Allows to PEM values and manifest settings for an existing certificate (.pfx) for use when using CSOM via an app-only ADAL application.", + "body": [ + "Get-PnPAzureCertificate -Path $1" ] }, "Get-PnPBrowserIdleSignout": { - "body": [ - "Get-PnPBrowserIdleSignout " - ], - "description": "Use this cmdlet to retrieve the current configuration values for Idle session sign-out policy, the time at which users are warned and subsequently signed out of Microsoft 365 after a period of browser inactivity in SharePoint and OneDrive.", "prefix": [ "Get-PnPBrowserIdleSignout" + ], + "description": "Use this cmdlet to retrieve the current configuration values for Idle session sign-out policy, the time at which users are warned and subsequently signed out of Microsoft 365 after a period of browser inactivity in SharePoint and OneDrive.", + "body": [ + "Get-PnPBrowserIdleSignout " ] }, "Get-PnPBuiltInDesignPackageVisibility": { - "body": [ - "Get-PnPBuiltInDesignPackageVisibility " - ], - "description": "Use this cmdlet to retrieve the current visibility state of each built-in design package.", "prefix": [ "Get-PnPBuiltInDesignPackageVisibility" + ], + "description": "Use this cmdlet to retrieve the current visibility state of each built-in design package.", + "body": [ + "Get-PnPBuiltInDesignPackageVisibility " ] }, "Get-PnPBuiltInSiteTemplateSettings": { - "body": [ - "Get-PnPBuiltInSiteTemplateSettings " - ], - "description": "Retrieves the current configuration of the built into SharePoint Online site templates.", "prefix": [ "Get-PnPBuiltInSiteTemplateSettings" + ], + "description": "Retrieves the current configuration of the built into SharePoint Online site templates.", + "body": [ + "Get-PnPBuiltInSiteTemplateSettings " ] }, "Get-PnPChangeLog": { - "body": [ - "Get-PnPChangeLog " - ], - "description": "This cmdlets returns the changelog in markdown format. It is retrieved dynamically from GitHub.", "prefix": [ "Get-PnPChangeLog" + ], + "description": "This cmdlets returns the changelog in markdown format. It is retrieved dynamically from GitHub.", + "body": [ + "Get-PnPChangeLog " ] }, "Get-PnPCompatibleHubContentTypes": { - "body": [ - "Get-PnPCompatibleHubContentTypes -WebUrl $1" - ], - "description": "Allows to retrieve list of content types present in content type hub site that are possible to be added to the current site or given list.", "prefix": [ "Get-PnPCompatibleHubContentTypes" + ], + "description": "Allows to retrieve list of content types present in content type hub site that are possible to be added to the current site or given list.", + "body": [ + "Get-PnPCompatibleHubContentTypes -WebUrl $1" ] }, "Get-PnPConnection": { - "body": [ - "Get-PnPConnection " - ], - "description": "Returns a PnP PowerShell Connection for use with the -Connection parameter on other cmdlets.", "prefix": [ "Get-PnPConnection" + ], + "description": "Returns a PnP PowerShell Connection for use with the -Connection parameter on other cmdlets.", + "body": [ + "Get-PnPConnection " ] }, "Get-PnPContainer": { - "body": [ - "Get-PnPContainer " - ], - "description": "", "prefix": [ "Get-PnPContainer" + ], + "description": "", + "body": [ + "Get-PnPContainer " ] }, "Get-PnPContainerTypeConfiguration": { - "body": [ - "Get-PnPContainerTypeConfiguration " - ], - "description": "", "prefix": [ "Get-PnPContainerTypeConfiguration" + ], + "description": "", + "body": [ + "Get-PnPContainerTypeConfiguration " ] }, "Get-PnPContentType": { - "body": [ - "Get-PnPContentType " + "prefix": [ + "Get-PnPContentType" ], "description": [ "Allows to get single or list of content types from site or list. Use the Identity option to specify the exact content type.", "Identity" ], - "prefix": [ - "Get-PnPContentType" + "body": [ + "Get-PnPContentType " ] }, "Get-PnPContentTypePublishingHubUrl": { - "body": [ - "Get-PnPContentTypePublishingHubUrl " - ], - "description": "Allows to retrieve the url of the Content Type Publishing Hub.", "prefix": [ "Get-PnPContentTypePublishingHubUrl" + ], + "description": "Allows to retrieve the url of the Content Type Publishing Hub.", + "body": [ + "Get-PnPContentTypePublishingHubUrl " ] }, "Get-PnPContentTypePublishingStatus": { - "body": [ - "Get-PnPContentTypePublishingStatus -ContentType $1" - ], - "description": "Allows to retrieve the publishing status of a content type present on content type hub site.", "prefix": [ "Get-PnPContentTypePublishingStatus" + ], + "description": "Allows to retrieve the publishing status of a content type present on content type hub site.", + "body": [ + "Get-PnPContentTypePublishingStatus -ContentType $1" ] }, "Get-PnPContext": { - "body": [ - "Get-PnPContext " - ], - "description": "Returns a SharePoint Online Client Side Object Model (CSOM) context", "prefix": [ "Get-PnPContext" + ], + "description": "Returns a SharePoint Online Client Side Object Model (CSOM) context", + "body": [ + "Get-PnPContext " ] }, "Get-PnPCustomAction": { - "body": [ - "Get-PnPCustomAction " - ], - "description": "Returns all or a specific user custom action", "prefix": [ "Get-PnPCustomAction" + ], + "description": "Returns all or a specific user custom action", + "body": [ + "Get-PnPCustomAction " ] }, "Get-PnPDefaultColumnValues": { - "body": [ - "Get-PnPDefaultColumnValues " - ], - "description": "Gets the default column values for a document library, per folder. Supports both text, people and taxonomy fields.", "prefix": [ "Get-PnPDefaultColumnValues" + ], + "description": "Gets the default column values for a document library, per folder. Supports both text, people and taxonomy fields.", + "body": [ + "Get-PnPDefaultColumnValues " ] }, "Get-PnPDeletedContainer": { - "body": [ - "Get-PnPDeletedContainer " - ], - "description": "", "prefix": [ "Get-PnPDeletedContainer" + ], + "description": "", + "body": [ + "Get-PnPDeletedContainer " ] }, "Get-PnPDeletedMicrosoft365Group": { - "body": [ - "Get-PnPDeletedMicrosoft365Group " + "prefix": [ + "Get-PnPDeletedMicrosoft365Group" ], "description": [ "Allows to get list of deleted Microsoft 365 Groups. Use the Identity option to specify the exact group.", "Identity" ], - "prefix": [ - "Get-PnPDeletedMicrosoft365Group" + "body": [ + "Get-PnPDeletedMicrosoft365Group " ] }, "Get-PnPDeletedTeam": { - "body": [ - "Get-PnPDeletedTeam " - ], - "description": "Allows to retrieve a list of deleted Microsoft Teams teams", "prefix": [ "Get-PnPDeletedTeam" + ], + "description": "Allows to retrieve a list of deleted Microsoft Teams teams", + "body": [ + "Get-PnPDeletedTeam " ] }, "Get-PnPDiagnostics": { - "body": [ - "Get-PnPDiagnostics " - ], - "description": "This cmdlet returns diagnostic information which can help to determine issues with PnP PowerShell", "prefix": [ "Get-PnPDiagnostics" + ], + "description": "This cmdlet returns diagnostic information which can help to determine issues with PnP PowerShell", + "body": [ + "Get-PnPDiagnostics " ] }, "Get-PnPDisableSpacesActivation": { - "body": [ - "Get-PnPDisableSpacesActivation " - ], - "description": "Retrieves if SharePoint Spaces is disabled on the entire tenant. At this point there is no API yet for retrieving the setting for a specific site, although you can set it for a specific site.", "prefix": [ "Get-PnPDisableSpacesActivation" + ], + "description": "Retrieves if SharePoint Spaces is disabled on the entire tenant. At this point there is no API yet for retrieving the setting for a specific site, although you can set it for a specific site.", + "body": [ + "Get-PnPDisableSpacesActivation " ] }, "Get-PnPDocumentSetTemplate": { - "body": [ - "Get-PnPDocumentSetTemplate " - ], - "description": "Allows to retrieve a document set template.", "prefix": [ "Get-PnPDocumentSetTemplate" + ], + "description": "Allows to retrieve a document set template.", + "body": [ + "Get-PnPDocumentSetTemplate " ] }, "Get-PnPEventReceiver": { - "body": [ - "Get-PnPEventReceiver " - ], - "description": "Returns all registered or a specific event receiver", "prefix": [ "Get-PnPEventReceiver" + ], + "description": "Returns all registered or a specific event receiver", + "body": [ + "Get-PnPEventReceiver " ] }, "Get-PnPException": { - "body": [ - "Get-PnPException " - ], - "description": "Returns the last exception which can be used while debugging PnP Cmdlets", "prefix": [ "Get-PnPException" + ], + "description": "Returns the last exception which can be used while debugging PnP Cmdlets", + "body": [ + "Get-PnPException " ] }, "Get-PnPExternalUser": { - "body": [ - "Get-PnPExternalUser " - ], - "description": "The Get-PnPExternalUser cmdlet returns external users that are located in the tenant based on specified criteria.", "prefix": [ "Get-PnPExternalUser" + ], + "description": "The Get-PnPExternalUser cmdlet returns external users that are located in the tenant based on specified criteria.", + "body": [ + "Get-PnPExternalUser " ] }, "Get-PnPFeature": { - "body": [ - "Get-PnPFeature " - ], - "description": "This cmdlet returns all activated features or a specific activated feature.", "prefix": [ "Get-PnPFeature" + ], + "description": "This cmdlet returns all activated features or a specific activated feature.", + "body": [ + "Get-PnPFeature " ] }, "Get-PnPField": { - "body": [ - "Get-PnPField " - ], - "description": "", "prefix": [ "Get-PnPField" + ], + "description": "", + "body": [ + "Get-PnPField " ] }, "Get-PnPFile": { - "body": [ - "Get-PnPFile -Url $1 -AsFileObject $2" - ], - "description": "Allows downloading of a file from SharePoint Online. The file contents can either be read directly into memory as text, directly saved to local disk or stored in memory for further processing.", "prefix": [ "Get-PnPFile" + ], + "description": "Allows downloading of a file from SharePoint Online. The file contents can either be read directly into memory as text, directly saved to local disk or stored in memory for further processing.", + "body": [ + "Get-PnPFile -Url $1 -AsFileObject $2" ] }, "Get-PnPFileInFolder": { - "body": [ - "Get-PnPFileInFolder " - ], - "description": "This cmdlet allows listing of all the files in a folder. It can optionally also list all files in the underlying subfolders.", "prefix": [ "Get-PnPFileInFolder" + ], + "description": "This cmdlet allows listing of all the files in a folder. It can optionally also list all files in the underlying subfolders.", + "body": [ + "Get-PnPFileInFolder " ] }, "Get-PnPFileSharingLink": { - "body": [ - "Get-PnPFileSharingLink -FileUrl $1" - ], - "description": "Retrieves sharing links for a file.", "prefix": [ "Get-PnPFileSharingLink" + ], + "description": "Retrieves sharing links for a file.", + "body": [ + "Get-PnPFileSharingLink -FileUrl $1" ] }, "Get-PnPFileVersion": { - "body": [ - "Get-PnPFileVersion -Url $1" - ], - "description": "Retrieves the version history of a file, not including its current version. To get the current version use the MajorVersion and MinorVersion properties returned from Get-PnPFile.", "prefix": [ "Get-PnPFileVersion" + ], + "description": "Retrieves the version history of a file, not including its current version. To get the current version use the MajorVersion and MinorVersion properties returned from Get-PnPFile.", + "body": [ + "Get-PnPFileVersion -Url $1" ] }, "Get-PnPFlow": { - "body": [ - "Get-PnPFlow " - ], - "description": "This cmdlet returns Power Automate Flows meeting the specified criteria.", "prefix": [ "Get-PnPFlow" + ], + "description": "This cmdlet returns Power Automate Flows meeting the specified criteria.", + "body": [ + "Get-PnPFlow " ] }, "Get-PnPFlowOwner": { - "body": [ - "Get-PnPFlowOwner -Environment $1 -Identity $2" - ], - "description": "This cmdlet returns the Power Automate flow owners for a given Power Automate Flow in a Power Platform environment.", "prefix": [ "Get-PnPFlowOwner" + ], + "description": "This cmdlet returns the Power Automate flow owners for a given Power Automate Flow in a Power Platform environment.", + "body": [ + "Get-PnPFlowOwner -Environment $1 -Identity $2" ] }, "Get-PnPFlowRun": { - "body": [ - "Get-PnPFlowRun -Environment $1 -Flow $2" - ], - "description": "This cmdlet returns the flow runs for a given flow.", "prefix": [ "Get-PnPFlowRun" + ], + "description": "This cmdlet returns the flow runs for a given flow.", + "body": [ + "Get-PnPFlowRun -Environment $1 -Flow $2" ] }, "Get-PnPFolder": { - "body": [ - "Get-PnPFolder " + "prefix": [ + "Get-PnPFolder" ], "description": [ "Retrieves the folder instance of the specified location.", @@ -1982,22 +1982,22 @@ "Get-PnPFileInFolder", "Get-PnPFolderItem" ], - "prefix": [ - "Get-PnPFolder" + "body": [ + "Get-PnPFolder " ] }, "Get-PnPFolderInFolder": { - "body": [ - "Get-PnPFolderInFolder " - ], - "description": "This cmdlet allows listing of all the subfolders of a folder. It can optionally also list all folders in the underlying subfolders.", "prefix": [ "Get-PnPFolderInFolder" + ], + "description": "This cmdlet allows listing of all the subfolders of a folder. It can optionally also list all folders in the underlying subfolders.", + "body": [ + "Get-PnPFolderInFolder " ] }, "Get-PnPFolderItem": { - "body": [ - "Get-PnPFolderItem " + "prefix": [ + "Get-PnPFolderItem" ], "description": [ "This cmdlet allows listing of all the content in a folder. It can be used to list all files and folders in a folder and optionally all its subfolders.", @@ -2005,250 +2005,250 @@ "Get-PnPFolderFile", "Get-PnPFolderFolder" ], - "prefix": [ - "Get-PnPFolderItem" + "body": [ + "Get-PnPFolderItem " ] }, "Get-PnPFolderSharingLink": { - "body": [ - "Get-PnPFolderSharingLink -Folder $1" - ], - "description": "Retrieves sharing links for a folder.", "prefix": [ "Get-PnPFolderSharingLink" + ], + "description": "Retrieves sharing links for a folder.", + "body": [ + "Get-PnPFolderSharingLink -Folder $1" ] }, "Get-PnPFolderStorageMetric": { - "body": [ - "Get-PnPFolderStorageMetric " + "prefix": [ + "Get-PnPFolderStorageMetric" ], "description": [ "Allows retrieval of storage metrics for a folder in SharePoint Online. It will reveal the true storage usage, similar to what will be shown through storman.aspx, the date and time the folder was last modified and the amount of files inside the folder.", "Please note that there is a delay of typically just a few minutes between making changes to files on a site and this cmdlet returning updated values." ], - "prefix": [ - "Get-PnPFolderStorageMetric" + "body": [ + "Get-PnPFolderStorageMetric " ] }, "Get-PnPFooter": { - "body": [ - "Get-PnPFooter " - ], - "description": "Allows the current configuration of the footer in the current web to be retrieved. The footer currently only works on Modern Communication sites.", "prefix": [ "Get-PnPFooter" + ], + "description": "Allows the current configuration of the footer in the current web to be retrieved. The footer currently only works on Modern Communication sites.", + "body": [ + "Get-PnPFooter " ] }, "Get-PnPGraphAccessToken": { - "body": [ - "Get-PnPGraphAccessToken " - ], - "description": "Gets the OAuth 2.0 Access Token to consume the Microsoft Graph API", "prefix": [ "Get-PnPGraphAccessToken" + ], + "description": "Gets the OAuth 2.0 Access Token to consume the Microsoft Graph API", + "body": [ + "Get-PnPGraphAccessToken " ] }, "Get-PnPGraphSubscription": { - "body": [ - "Get-PnPGraphSubscription " - ], - "description": "", "prefix": [ "Get-PnPGraphSubscription" + ], + "description": "", + "body": [ + "Get-PnPGraphSubscription " ] }, "Get-PnPGroup": { - "body": [ - "Get-PnPGroup " - ], - "description": "", "prefix": [ "Get-PnPGroup" + ], + "description": "", + "body": [ + "Get-PnPGroup " ] }, "Get-PnPGroupMember": { - "body": [ - "Get-PnPGroupMember -Group $1" - ], - "description": "This command will return all the users (or a specific user) that are members of the provided SharePoint group", "prefix": [ "Get-PnPGroupMember" + ], + "description": "This command will return all the users (or a specific user) that are members of the provided SharePoint group", + "body": [ + "Get-PnPGroupMember -Group $1" ] }, "Get-PnPGroupPermissions": { - "body": [ - "Get-PnPGroupPermissions " - ], - "description": "This command will return the permissions of a specific SharePoint group", "prefix": [ "Get-PnPGroupPermissions" + ], + "description": "This command will return the permissions of a specific SharePoint group", + "body": [ + "Get-PnPGroupPermissions " ] }, "Get-PnPHideDefaultThemes": { - "body": [ - "Get-PnPHideDefaultThemes " + "prefix": [ + "Get-PnPHideDefaultThemes" ], "description": [ "Returns if the default themes are visible. Use Set-PnPHideDefaultThemes to change this value.", "You must be a SharePoint Online global administrator to run the cmdlet." ], - "prefix": [ - "Get-PnPHideDefaultThemes" + "body": [ + "Get-PnPHideDefaultThemes " ] }, "Get-PnPHomePage": { - "body": [ - "Get-PnPHomePage " - ], - "description": "Returns the URL to the page set as home page", "prefix": [ "Get-PnPHomePage" + ], + "description": "Returns the URL to the page set as home page", + "body": [ + "Get-PnPHomePage " ] }, "Get-PnPHomeSite": { - "body": [ - "Get-PnPHomeSite " - ], - "description": "This cmdlet will return the SharePoint Home sites for your tenant. Depending on which parameters you provide, you will get returned either the default first Home Site URL or details on all the Home Sites that have been configured for your tenant.", "prefix": [ "Get-PnPHomeSite" + ], + "description": "This cmdlet will return the SharePoint Home sites for your tenant. Depending on which parameters you provide, you will get returned either the default first Home Site URL or details on all the Home Sites that have been configured for your tenant.", + "body": [ + "Get-PnPHomeSite " ] }, "Get-PnPHubSite": { - "body": [ - "Get-PnPHubSite " - ], - "description": "", "prefix": [ "Get-PnPHubSite" + ], + "description": "", + "body": [ + "Get-PnPHubSite " ] }, "Get-PnPHubSiteChild": { - "body": [ - "Get-PnPHubSiteChild " - ], - "description": "Retrieves all sites associated to a specific hub site", "prefix": [ "Get-PnPHubSiteChild" + ], + "description": "Retrieves all sites associated to a specific hub site", + "body": [ + "Get-PnPHubSiteChild " ] }, "Get-PnPIndexedPropertyKeys": { - "body": [ - "Get-PnPIndexedPropertyKeys " - ], - "description": "", "prefix": [ "Get-PnPIndexedPropertyKeys" + ], + "description": "", + "body": [ + "Get-PnPIndexedPropertyKeys " ] }, "Get-PnPInPlaceRecordsManagement": { - "body": [ - "Get-PnPInPlaceRecordsManagement " - ], - "description": "", "prefix": [ "Get-PnPInPlaceRecordsManagement" + ], + "description": "", + "body": [ + "Get-PnPInPlaceRecordsManagement " ] }, "Get-PnPIsSiteAliasAvailable": { - "body": [ - "Get-PnPIsSiteAliasAvailable " - ], - "description": "", "prefix": [ "Get-PnPIsSiteAliasAvailable" + ], + "description": "", + "body": [ + "Get-PnPIsSiteAliasAvailable " ] }, "Get-PnPJavaScriptLink": { - "body": [ - "Get-PnPJavaScriptLink " - ], - "description": "", "prefix": [ "Get-PnPJavaScriptLink" + ], + "description": "", + "body": [ + "Get-PnPJavaScriptLink " ] }, "Get-PnPKnowledgeHubSite": { - "body": [ - "Get-PnPKnowledgeHubSite " - ], - "description": "", "prefix": [ "Get-PnPKnowledgeHubSite" + ], + "description": "", + "body": [ + "Get-PnPKnowledgeHubSite " ] }, "Get-PnPLabel": { - "body": [ - "Get-PnPLabel " + "prefix": [ + "Get-PnPLabel" ], "description": [ "Allows to retrieve all retention labels for current site or list. Use Raw option if you want will include more detailed information regarding labels.", "Raw" ], - "prefix": [ - "Get-PnPLabel" + "body": [ + "Get-PnPLabel " ] }, "Get-PnPLargeListOperationStatus": { - "body": [ - "Get-PnPLargeListOperationStatus " - ], - "description": "Allows to get the status of a large list operation.", "prefix": [ "Get-PnPLargeListOperationStatus" + ], + "description": "Allows to get the status of a large list operation.", + "body": [ + "Get-PnPLargeListOperationStatus " ] }, "Get-PnPList": { - "body": [ - "Get-PnPList " - ], - "description": "This cmdlet returns lists in the current web.", "prefix": [ "Get-PnPList" + ], + "description": "This cmdlet returns lists in the current web.", + "body": [ + "Get-PnPList " ] }, "Get-PnPListDesign": { - "body": [ - "Get-PnPListDesign " - ], - "description": "Retrieve List Designs that have been registered on the current tenant. When providing a name with -Identity, it returns all list designs with that name.", "prefix": [ "Get-PnPListDesign" + ], + "description": "Retrieve List Designs that have been registered on the current tenant. When providing a name with -Identity, it returns all list designs with that name.", + "body": [ + "Get-PnPListDesign " ] }, "Get-PnPListInformationRightsManagement": { - "body": [ - "Get-PnPListInformationRightsManagement -List $1" - ], - "description": "Allows to get the site closure status of the current site or list which has a site policy applied.", "prefix": [ "Get-PnPListInformationRightsManagement" + ], + "description": "Allows to get the site closure status of the current site or list which has a site policy applied.", + "body": [ + "Get-PnPListInformationRightsManagement -List $1" ] }, "Get-PnPListItem": { - "body": [ - "Get-PnPListItem " - ], - "description": "Allows to retrieve list items.", "prefix": [ "Get-PnPListItem" + ], + "description": "Allows to retrieve list items.", + "body": [ + "Get-PnPListItem " ] }, "Get-PnPListItemAttachment": { - "body": [ - "Get-PnPListItemAttachment " + "prefix": [ + "Get-PnPListItemAttachment" ], "description": [ "Allows to download the list item attachments to a specified path. Use Force option in order to skip the confirmation question and overwrite the files on the local disk, if they already exist.", "Force" ], - "prefix": [ - "Get-PnPListItemAttachment" + "body": [ + "Get-PnPListItemAttachment " ] }, "Get-PnPListItemComment": { - "body": [ - "Get-PnPListItemComment -List $1 -Identity $2" + "prefix": [ + "Get-PnPListItemComment" ], "description": [ "-Connection", @@ -2264,980 +2264,980 @@ "Type: ListPipeBind\r\nParameter Sets: (All)\r\n\r\nRequired: True\r\nPosition: 0\r\nDefault value: None\r\nAccept pipeline input: True (ByValue)\r\nAccept wildcard characters: False", "Type: ListPipeBindParameter Sets: (All)Required: TruePosition: 0\r\nDefault value: NoneAccept pipeline input: True (ByValue)\r\nAccept wildcard characters: False" ], - "prefix": [ - "Get-PnPListItemComment" + "body": [ + "Get-PnPListItemComment -List $1 -Identity $2" ] }, "Get-PnPListItemPermission": { - "body": [ - "Get-PnPListItemPermission " - ], - "description": "Allows to retrieve list item permissions.", "prefix": [ "Get-PnPListItemPermission" + ], + "description": "Allows to retrieve list item permissions.", + "body": [ + "Get-PnPListItemPermission " ] }, "Get-PnPListItemVersion": { - "body": [ - "Get-PnPListItemVersion -List $1 -Identity $2" - ], - "description": "This cmdlet retrieves the version history of a list item.", "prefix": [ "Get-PnPListItemVersion" + ], + "description": "This cmdlet retrieves the version history of a list item.", + "body": [ + "Get-PnPListItemVersion -List $1 -Identity $2" ] }, "Get-PnPListPermissions": { - "body": [ - "Get-PnPListPermissions " - ], - "description": "This cmdlet retrieves the list permissions (role definitions) for a specific user or group in a provided list.", "prefix": [ "Get-PnPListPermissions" + ], + "description": "This cmdlet retrieves the list permissions (role definitions) for a specific user or group in a provided list.", + "body": [ + "Get-PnPListPermissions " ] }, "Get-PnPListRecordDeclaration": { - "body": [ - "Get-PnPListRecordDeclaration -List $1" - ], - "description": "Allows to retrieve the record declaration settings for given list.", "prefix": [ "Get-PnPListRecordDeclaration" + ], + "description": "Allows to retrieve the record declaration settings for given list.", + "body": [ + "Get-PnPListRecordDeclaration -List $1" ] }, "Get-PnPMasterPage": { - "body": [ - "Get-PnPMasterPage " - ], - "description": "Allows to retrieve urls of the default Master Page and custom Master Page of the current site.", "prefix": [ "Get-PnPMasterPage" + ], + "description": "Allows to retrieve urls of the default Master Page and custom Master Page of the current site.", + "body": [ + "Get-PnPMasterPage " ] }, "Get-PnPMessageCenterAnnouncement": { - "body": [ - "Get-PnPMessageCenterAnnouncement " - ], - "description": "Allows to retrieve the available message center announcements.", "prefix": [ "Get-PnPMessageCenterAnnouncement" + ], + "description": "Allows to retrieve the available message center announcements.", + "body": [ + "Get-PnPMessageCenterAnnouncement " ] }, "Get-PnPMicrosoft365ExpiringGroup": { - "body": [ - "Get-PnPMicrosoft365ExpiringGroup " + "prefix": [ + "Get-PnPMicrosoft365ExpiringGroup" ], "description": [ "This command returns all soon to expire Microsoft 365 Groups. By default, groups expiring in the next 31 days are returned (in accordance with SharePoint/OneDrive's retention period's 31-day months). The -Limit parameter can be used to specify a different time period.", "-Limit" ], - "prefix": [ - "Get-PnPMicrosoft365ExpiringGroup" + "body": [ + "Get-PnPMicrosoft365ExpiringGroup " ] }, "Get-PnPMicrosoft365Group": { - "body": [ - "Get-PnPMicrosoft365Group " + "prefix": [ + "Get-PnPMicrosoft365Group" ], "description": [ "Allows to retrieve Microsoft 365 Groups. By using Identity option you may specify the exact group that will be retrieved.", "Identity" ], - "prefix": [ - "Get-PnPMicrosoft365Group" + "body": [ + "Get-PnPMicrosoft365Group " ] }, "Get-PnPMicrosoft365GroupEndpoint": { - "body": [ - "Get-PnPMicrosoft365GroupEndpoint -Identity $1" - ], - "description": "This cmdlet allows retrieval of details on the endpoints connected to a Microsoft 365 Group", "prefix": [ "Get-PnPMicrosoft365GroupEndpoint" + ], + "description": "This cmdlet allows retrieval of details on the endpoints connected to a Microsoft 365 Group", + "body": [ + "Get-PnPMicrosoft365GroupEndpoint -Identity $1" ] }, "Get-PnPMicrosoft365GroupMember": { - "body": [ - "Get-PnPMicrosoft365GroupMember -Identity $1" - ], - "description": "Returns the members of a particular Microsoft 365 Group", "prefix": [ "Get-PnPMicrosoft365GroupMember" + ], + "description": "Returns the members of a particular Microsoft 365 Group", + "body": [ + "Get-PnPMicrosoft365GroupMember -Identity $1" ] }, "Get-PnPMicrosoft365GroupOwner": { - "body": [ - "Get-PnPMicrosoft365GroupOwner -Identity $1" - ], - "description": "Allows to retrieve owners of Microsoft 365 Group.", "prefix": [ "Get-PnPMicrosoft365GroupOwner" + ], + "description": "Allows to retrieve owners of Microsoft 365 Group.", + "body": [ + "Get-PnPMicrosoft365GroupOwner -Identity $1" ] }, "Get-PnPMicrosoft365GroupSettings": { - "body": [ - "Get-PnPMicrosoft365GroupSettings " + "prefix": [ + "Get-PnPMicrosoft365GroupSettings" ], "description": [ "Allows to retrieve tenant wide settings of Microsoft 365 Groups or by using Identity option you may specify the exact Microsoft 365 Group.", "Identity" ], - "prefix": [ - "Get-PnPMicrosoft365GroupSettings" + "body": [ + "Get-PnPMicrosoft365GroupSettings " ] }, "Get-PnPMicrosoft365GroupSettingTemplates": { - "body": [ - "Get-PnPMicrosoft365GroupSettingTemplates " - ], - "description": "Allows to retrieve available system wide template of settings for Microsoft 365 Groups.", "prefix": [ "Get-PnPMicrosoft365GroupSettingTemplates" + ], + "description": "Allows to retrieve available system wide template of settings for Microsoft 365 Groups.", + "body": [ + "Get-PnPMicrosoft365GroupSettingTemplates " ] }, "Get-PnPMicrosoft365GroupTeam": { - "body": [ - "Get-PnPMicrosoft365GroupTeam -Identity $1" - ], - "description": "This cmdlet allows retrieval of details on the Microsoft Teams team connected to a Microsoft 365 Group.", "prefix": [ "Get-PnPMicrosoft365GroupTeam" + ], + "description": "This cmdlet allows retrieval of details on the Microsoft Teams team connected to a Microsoft 365 Group.", + "body": [ + "Get-PnPMicrosoft365GroupTeam -Identity $1" ] }, "Get-PnPMicrosoft365GroupYammerCommunity": { - "body": [ - "Get-PnPMicrosoft365GroupYammerCommunity -Identity $1" - ], - "description": "This cmdlet allows retrieval of details on the Yammer Community connected to a Microsoft 365 Group", "prefix": [ "Get-PnPMicrosoft365GroupYammerCommunity" + ], + "description": "This cmdlet allows retrieval of details on the Yammer Community connected to a Microsoft 365 Group", + "body": [ + "Get-PnPMicrosoft365GroupYammerCommunity -Identity $1" ] }, "Get-PnPNavigationNode": { - "body": [ - "Get-PnPNavigationNode " + "prefix": [ + "Get-PnPNavigationNode" ], "description": [ "Allows to retrieve all navigation nodes or a specific on by using Id option.", "Id" ], - "prefix": [ - "Get-PnPNavigationNode" + "body": [ + "Get-PnPNavigationNode " ] }, "Get-PnPOrgAssetsLibrary": { - "body": [ - "Get-PnPOrgAssetsLibrary " - ], - "description": "Allows to retrieve list of all the configured organizational asset libraries.", "prefix": [ "Get-PnPOrgAssetsLibrary" + ], + "description": "Allows to retrieve list of all the configured organizational asset libraries.", + "body": [ + "Get-PnPOrgAssetsLibrary " ] }, "Get-PnPOrgNewsSite": { - "body": [ - "Get-PnPOrgNewsSite " - ], - "description": "Allows to retrieve list of all the configured organizational news sites.", "prefix": [ "Get-PnPOrgNewsSite" + ], + "description": "Allows to retrieve list of all the configured organizational news sites.", + "body": [ + "Get-PnPOrgNewsSite " ] }, "Get-PnPPage": { - "body": [ - "Get-PnPPage -Identity $1" - ], - "description": "This command allows the retrieval of a modern sitepage along with its properties and contents on it. Note that for a newly created modern site, the Columns and Sections of the Home.aspx page will not be filled according to the actual site page contents. This is because the underlying CanvasContent1 will not be populated until the homepage has been edited and published. The reason for this behavior is to allow for the default homepage to be able to be updated by Microsoft as long as it hasn't been modified. For any other site page or after editing and publishing the homepage, this command will return the correct columns and sections as they are positioned on the site page.", "prefix": [ "Get-PnPPage" + ], + "description": "This command allows the retrieval of a modern sitepage along with its properties and contents on it. Note that for a newly created modern site, the Columns and Sections of the Home.aspx page will not be filled according to the actual site page contents. This is because the underlying CanvasContent1 will not be populated until the homepage has been edited and published. The reason for this behavior is to allow for the default homepage to be able to be updated by Microsoft as long as it hasn't been modified. For any other site page or after editing and publishing the homepage, this command will return the correct columns and sections as they are positioned on the site page.", + "body": [ + "Get-PnPPage -Identity $1" ] }, "Get-PnPPageComponent": { - "body": [ - "Get-PnPPageComponent " - ], - "description": "This command allows the retrieval of the components placed on a modern sitepage along with its properties. Note that for a newly created modern site, the Home.aspx page will not be returning any components. This is because the underlying CanvasContent1 will not be populated until the homepage has been edited and published. The reason for this behavior is to allow for the default homepage to be able to be updated by Microsoft as long as it hasn't been modified. For any other site page or after editing and publishing the homepage, this command will return the correct components as they are positioned on the site page.", "prefix": [ "Get-PnPPageComponent" + ], + "description": "This command allows the retrieval of the components placed on a modern sitepage along with its properties. Note that for a newly created modern site, the Home.aspx page will not be returning any components. This is because the underlying CanvasContent1 will not be populated until the homepage has been edited and published. The reason for this behavior is to allow for the default homepage to be able to be updated by Microsoft as long as it hasn't been modified. For any other site page or after editing and publishing the homepage, this command will return the correct components as they are positioned on the site page.", + "body": [ + "Get-PnPPageComponent " ] }, "Get-PnPPlannerBucket": { - "body": [ - "Get-PnPPlannerBucket -Group $1 -Plan $2" - ], - "description": "This cmdlets returns all or a specific bucket in a Planner plan.", "prefix": [ "Get-PnPPlannerBucket" + ], + "description": "This cmdlets returns all or a specific bucket in a Planner plan.", + "body": [ + "Get-PnPPlannerBucket -Group $1 -Plan $2" ] }, "Get-PnPPlannerConfiguration": { - "body": [ - "Get-PnPPlannerConfiguration " + "prefix": [ + "Get-PnPPlannerConfiguration" ], "description": [ "This cmdlet returns the Microsoft Planner admin configuration of the tenant. Note that after changing the configuration using Set-PnPPlannerTenantConfiguration, this cmdlet may return varying results which could deviate from your desired configuration while the new configuration is being propagated across the tenant.", "Set-PnPPlannerTenantConfiguration" ], - "prefix": [ - "Get-PnPPlannerConfiguration" + "body": [ + "Get-PnPPlannerConfiguration " ] }, "Get-PnPPlannerPlan": { - "body": [ - "Get-PnPPlannerPlan -Group $1" - ], - "description": "This cmdlet returns all or a specific Planner plan for a Microsoft 365 Group.", "prefix": [ "Get-PnPPlannerPlan" + ], + "description": "This cmdlet returns all or a specific Planner plan for a Microsoft 365 Group.", + "body": [ + "Get-PnPPlannerPlan -Group $1" ] }, "Get-PnPPlannerRosterMember": { - "body": [ - "Get-PnPPlannerRosterMember -Identity $1" - ], - "description": "This cmdlet will return the current members of a Microsoft Planner Roster", "prefix": [ "Get-PnPPlannerRosterMember" + ], + "description": "This cmdlet will return the current members of a Microsoft Planner Roster", + "body": [ + "Get-PnPPlannerRosterMember -Identity $1" ] }, "Get-PnPPlannerRosterPlan": { - "body": [ - "Get-PnPPlannerRosterPlan " - ], - "description": "This cmdlet returns Microsoft Planner roster plans for a specific Microsoft Planner Roster or a specific user", "prefix": [ "Get-PnPPlannerRosterPlan" + ], + "description": "This cmdlet returns Microsoft Planner roster plans for a specific Microsoft Planner Roster or a specific user", + "body": [ + "Get-PnPPlannerRosterPlan " ] }, "Get-PnPPlannerTask": { - "body": [ - "Get-PnPPlannerTask -Group $1 -Plan $2" - ], - "description": "This cmdlet returns Planner tasks.", "prefix": [ "Get-PnPPlannerTask" + ], + "description": "This cmdlet returns Planner tasks.", + "body": [ + "Get-PnPPlannerTask -Group $1 -Plan $2" ] }, "Get-PnPPlannerUserPolicy": { - "body": [ - "Get-PnPPlannerUserPolicy -Identity $1" - ], - "description": "This cmdlet returns the Microsoft Planner user policy for the provided user. If a Microsoft Planner user policy has never been set yet on a tenant, this cmdlet may return a '403 Forbidden: Access is denied' error. Set a policy once first to enable the background configuration to be done so this cmdlet can succeed from thereon.", "prefix": [ "Get-PnPPlannerUserPolicy" + ], + "description": "This cmdlet returns the Microsoft Planner user policy for the provided user. If a Microsoft Planner user policy has never been set yet on a tenant, this cmdlet may return a '403 Forbidden: Access is denied' error. Set a policy once first to enable the background configuration to be done so this cmdlet can succeed from thereon.", + "body": [ + "Get-PnPPlannerUserPolicy -Identity $1" ] }, "Get-PnPPowerApp": { - "body": [ - "Get-PnPPowerApp " - ], - "description": "This cmdlet returns the Power Apps for a given enviroment.", "prefix": [ "Get-PnPPowerApp" + ], + "description": "This cmdlet returns the Power Apps for a given enviroment.", + "body": [ + "Get-PnPPowerApp " ] }, "Get-PnPPowerPlatformConnector": { - "body": [ - "Get-PnPPowerPlatformConnector " - ], - "description": "This cmdlet returns the custom connectors on a given enviroment.", "prefix": [ "Get-PnPPowerPlatformConnector" + ], + "description": "This cmdlet returns the custom connectors on a given enviroment.", + "body": [ + "Get-PnPPowerPlatformConnector " ] }, "Get-PnPPowerPlatformEnvironment": { - "body": [ - "Get-PnPPowerPlatformEnvironment " - ], - "description": "This cmdlet retrieves all of the Microsoft Power Platform environments for the current tenant", "prefix": [ "Get-PnPPowerPlatformEnvironment" + ], + "description": "This cmdlet retrieves all of the Microsoft Power Platform environments for the current tenant", + "body": [ + "Get-PnPPowerPlatformEnvironment " ] }, "Get-PnPPowerShellTelemetryEnabled": { - "body": [ - "Get-PnPPowerShellTelemetryEnabled " + "prefix": [ + "Get-PnPPowerShellTelemetryEnabled" ], "description": [ "In order to help to make PnP PowerShell better, we can track anonymous telemetry. For more information on what we collect and how to prevent this data from being collected, visit Configure PnP PowerShell.", "Configure PnP PowerShell" ], - "prefix": [ - "Get-PnPPowerShellTelemetryEnabled" + "body": [ + "Get-PnPPowerShellTelemetryEnabled " ] }, "Get-PnPProperty": { - "body": [ - "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.", "prefix": [ "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": [ + "Get-PnPProperty " ] }, "Get-PnPPropertyBag": { - "body": [ - "Get-PnPPropertyBag " + "prefix": [ + "Get-PnPPropertyBag" ], "description": [ "Allows to retrieve all property bag values. It is possible to get property bag values for a folder using Folder option or a specific property bag value using Key option.", "Folder", "Key" ], - "prefix": [ - "Get-PnPPropertyBag" + "body": [ + "Get-PnPPropertyBag " ] }, "Get-PnPPublishingImageRendition": { - "body": [ - "Get-PnPPublishingImageRendition " + "prefix": [ + "Get-PnPPublishingImageRendition" ], "description": [ "Allows to retrieve all image renditions or a specific one when Identity option is used.", "Identity" ], - "prefix": [ - "Get-PnPPublishingImageRendition" + "body": [ + "Get-PnPPublishingImageRendition " ] }, "Get-PnPRecycleBinItem": { - "body": [ - "Get-PnPRecycleBinItem " - ], - "description": "This command will return all the items in the recycle bin for the SharePoint site you connected to with Connect-PnPOnline. You must connect as a Site Collection Owner or Administrator. The SharePoint Admin Role in the tenant alone will not work. If you are not a Site Collection Admin connect to the Tenant Admin URL with Connect-PnPOnline and use Get-PnPTenantRecycleBinItem.", "prefix": [ "Get-PnPRecycleBinItem" + ], + "description": "This command will return all the items in the recycle bin for the SharePoint site you connected to with Connect-PnPOnline. You must connect as a Site Collection Owner or Administrator. The SharePoint Admin Role in the tenant alone will not work. If you are not a Site Collection Admin connect to the Tenant Admin URL with Connect-PnPOnline and use Get-PnPTenantRecycleBinItem.", + "body": [ + "Get-PnPRecycleBinItem " ] }, "Get-PnPRequestAccessEmails": { - "body": [ - "Get-PnPRequestAccessEmails " - ], - "description": "Allows to retrieve request access e-mail addresses.", "prefix": [ "Get-PnPRequestAccessEmails" + ], + "description": "Allows to retrieve request access e-mail addresses.", + "body": [ + "Get-PnPRequestAccessEmails " ] }, "Get-PnPRetentionLabel": { - "body": [ - "Get-PnPRetentionLabel " - ], - "description": "This cmdlet allows retrieval of the available Microsoft Purview retention labels in the currently connected tenant. You can retrieve all the labels or a specific label.", "prefix": [ "Get-PnPRetentionLabel" + ], + "description": "This cmdlet allows retrieval of the available Microsoft Purview retention labels in the currently connected tenant. You can retrieve all the labels or a specific label.", + "body": [ + "Get-PnPRetentionLabel " ] }, "Get-PnPRoleDefinition": { - "body": [ - "Get-PnPRoleDefinition " - ], - "description": "Allows to retrieve Role Definitions of a site.", "prefix": [ "Get-PnPRoleDefinition" + ], + "description": "Allows to retrieve Role Definitions of a site.", + "body": [ + "Get-PnPRoleDefinition " ] }, "Get-PnPSearchConfiguration": { - "body": [ - "Get-PnPSearchConfiguration " - ], - "description": "Allows to retrieve search configuration.", "prefix": [ "Get-PnPSearchConfiguration" + ], + "description": "Allows to retrieve search configuration.", + "body": [ + "Get-PnPSearchConfiguration " ] }, "Get-PnPSearchCrawlLog": { - "body": [ - "Get-PnPSearchCrawlLog " + "prefix": [ + "Get-PnPSearchCrawlLog" ], "description": [ "Allows to retrieve entries from the SharePoint search crawl log. To be able to use this command you need to grant access to the crawl log via the SharePoint search admin center at https://-admin.sharepoint.com/_layouts/15/searchadmin/crawllogreadpermission.aspx.", null ], - "prefix": [ - "Get-PnPSearchCrawlLog" + "body": [ + "Get-PnPSearchCrawlLog " ] }, "Get-PnPSearchSettings": { - "body": [ - "Get-PnPSearchSettings " - ], - "description": "Allows to retrieve search settings for a site.", "prefix": [ "Get-PnPSearchSettings" + ], + "description": "Allows to retrieve search settings for a site.", + "body": [ + "Get-PnPSearchSettings " ] }, "Get-PnPServiceCurrentHealth": { - "body": [ - "Get-PnPServiceCurrentHealth " - ], - "description": "Allows to retrieve current service status of the Office 365 Services from the Microsoft Graph API.", "prefix": [ "Get-PnPServiceCurrentHealth" + ], + "description": "Allows to retrieve current service status of the Office 365 Services from the Microsoft Graph API.", + "body": [ + "Get-PnPServiceCurrentHealth " ] }, "Get-PnPServiceHealthIssue": { - "body": [ - "Get-PnPServiceHealthIssue " - ], - "description": "Allows to retrieve current service health issues of the Office 365 Services from the Microsoft Graph API.", "prefix": [ "Get-PnPServiceHealthIssue" + ], + "description": "Allows to retrieve current service health issues of the Office 365 Services from the Microsoft Graph API.", + "body": [ + "Get-PnPServiceHealthIssue " ] }, "Get-PnPSharePointAddIn": { - "body": [ - "Get-PnPSharePointAddIn " - ], - "description": "", "prefix": [ "Get-PnPSharePointAddIn" + ], + "description": "", + "body": [ + "Get-PnPSharePointAddIn " ] }, "Get-PnPSharingForNonOwnersOfSite": { - "body": [ - "Get-PnPSharingForNonOwnersOfSite " - ], - "description": "Returns $false if sharing of the site and items in the site is restricted only to owners or $true if members and owners are allowed to share. You can disable sharing by non owners by using Disable-PnPSharingForNonOwnersOfSite. At this point there is no interface available yet to enable sharing by owners and members again through script. You will have to do so through the user interface of SharePoint.", "prefix": [ "Get-PnPSharingForNonOwnersOfSite" + ], + "description": "Returns $false if sharing of the site and items in the site is restricted only to owners or $true if members and owners are allowed to share. You can disable sharing by non owners by using Disable-PnPSharingForNonOwnersOfSite. At this point there is no interface available yet to enable sharing by owners and members again through script. You will have to do so through the user interface of SharePoint.", + "body": [ + "Get-PnPSharingForNonOwnersOfSite " ] }, "Get-PnPSite": { - "body": [ - "Get-PnPSite " - ], - "description": "Allows to retrieve current site collection from the context.", "prefix": [ "Get-PnPSite" + ], + "description": "Allows to retrieve current site collection from the context.", + "body": [ + "Get-PnPSite " ] }, "Get-PnPSiteClosure": { - "body": [ - "Get-PnPSiteClosure " - ], - "description": "Allows to retrieve current site closure status of the site which has a site policy applied.", "prefix": [ "Get-PnPSiteClosure" + ], + "description": "Allows to retrieve current site closure status of the site which has a site policy applied.", + "body": [ + "Get-PnPSiteClosure " ] }, "Get-PnPSiteCollectionAdmin": { - "body": [ - "Get-PnPSiteCollectionAdmin " - ], - "description": "This command will return all current site collection administrators of the site collection in the current context", "prefix": [ "Get-PnPSiteCollectionAdmin" + ], + "description": "This command will return all current site collection administrators of the site collection in the current context", + "body": [ + "Get-PnPSiteCollectionAdmin " ] }, "Get-PnPSiteCollectionAppCatalog": { - "body": [ - "Get-PnPSiteCollectionAppCatalog " - ], - "description": "Returns all the site collection scoped app catalogs that exist on the tenant", "prefix": [ "Get-PnPSiteCollectionAppCatalog" + ], + "description": "Returns all the site collection scoped app catalogs that exist on the tenant", + "body": [ + "Get-PnPSiteCollectionAppCatalog " ] }, "Get-PnPSiteCollectionTermStore": { - "body": [ - "Get-PnPSiteCollectionTermStore " - ], - "description": "Returns the site collection scoped term store for the currently connected to site collection. If it does not exist yet, it will return a null value.", "prefix": [ "Get-PnPSiteCollectionTermStore" + ], + "description": "Returns the site collection scoped term store for the currently connected to site collection. If it does not exist yet, it will return a null value.", + "body": [ + "Get-PnPSiteCollectionTermStore " ] }, "Get-PnPSiteDesign": { - "body": [ - "Get-PnPSiteDesign " - ], - "description": "Retrieve Site Designs that have been registered on the current tenant. When providing a name with -Identity, it returns all site designs with that name.", "prefix": [ "Get-PnPSiteDesign" + ], + "description": "Retrieve Site Designs that have been registered on the current tenant. When providing a name with -Identity, it returns all site designs with that name.", + "body": [ + "Get-PnPSiteDesign " ] }, "Get-PnPSiteDesignRights": { - "body": [ - "Get-PnPSiteDesignRights " - ], - "description": "Allows to retrieve the principals with design rights on a specific Site Design.", "prefix": [ "Get-PnPSiteDesignRights" + ], + "description": "Allows to retrieve the principals with design rights on a specific Site Design.", + "body": [ + "Get-PnPSiteDesignRights " ] }, "Get-PnPSiteDesignRun": { - "body": [ - "Get-PnPSiteDesignRun " + "prefix": [ + "Get-PnPSiteDesignRun" ], "description": [ "Allows to retrieve a list of site designs applied to a specified site collection. By default the command will retrieve list of designs applied to the current site but it is also possible to get this information from a different site collection using WebUrl option.", "WebUrl" ], - "prefix": [ - "Get-PnPSiteDesignRun" + "body": [ + "Get-PnPSiteDesignRun " ] }, "Get-PnPSiteDesignRunStatus": { - "body": [ - "Get-PnPSiteDesignRunStatus -Run $1" - ], - "description": "Allows to retrieve a list of all site script actions executed for a specified site design applied to a site.", "prefix": [ "Get-PnPSiteDesignRunStatus" + ], + "description": "Allows to retrieve a list of all site script actions executed for a specified site design applied to a site.", + "body": [ + "Get-PnPSiteDesignRunStatus -Run $1" ] }, "Get-PnPSiteDesignTask": { - "body": [ - "Get-PnPSiteDesignTask " - ], - "description": "Allows to retrieve a scheduled site design script.", "prefix": [ "Get-PnPSiteDesignTask" + ], + "description": "Allows to retrieve a scheduled site design script.", + "body": [ + "Get-PnPSiteDesignTask " ] }, "Get-PnPSiteGroup": { - "body": [ - "Get-PnPSiteGroup " - ], - "description": "Use the Get-PnPSiteGroup cmdlet to get all the groups on the specified or currently connected site collection.", "prefix": [ "Get-PnPSiteGroup" + ], + "description": "Use the Get-PnPSiteGroup cmdlet to get all the groups on the specified or currently connected site collection.", + "body": [ + "Get-PnPSiteGroup " ] }, "Get-PnPSitePolicy": { - "body": [ - "Get-PnPSitePolicy " - ], - "description": "Allows to retrieve site policies.", "prefix": [ "Get-PnPSitePolicy" + ], + "description": "Allows to retrieve site policies.", + "body": [ + "Get-PnPSitePolicy " ] }, "Get-PnPSiteScript": { - "body": [ - "Get-PnPSiteScript " + "prefix": [ + "Get-PnPSiteScript" ], "description": [ "Allows to retrieve site scripts registered on the current tenant. By using Identity option it is possible to retrieve specified site script", "Identity" ], - "prefix": [ - "Get-PnPSiteScript" + "body": [ + "Get-PnPSiteScript " ] }, "Get-PnPSiteScriptFromList": { - "body": [ - "Get-PnPSiteScriptFromList -Identity $1" + "prefix": [ + "Get-PnPSiteScriptFromList" ], "description": [ "This command allows a Site Script to be generated off of an existing list on your tenant. The script will return the JSON syntax with the definition of the list, including fields, views, content types, and some of the list settings. The script can then be used with Add-PnPSiteScript and Add-PnPListDesign to allow lists with the same configuration as the original list to be created by end users.", "Add-PnPSiteScript", "Add-PnPListDesign" ], - "prefix": [ - "Get-PnPSiteScriptFromList" + "body": [ + "Get-PnPSiteScriptFromList -Identity $1" ] }, "Get-PnPSiteScriptFromWeb": { - "body": [ - "Get-PnPSiteScriptFromWeb -Url $1" - ], - "description": "This command allows a Site Script to be generated off of an existing site on your tenant. You need to provide at least one of the optional Include or Lists arguments. If you omit the URL, the Site Script will be created from the site to which you are connected.", "prefix": [ "Get-PnPSiteScriptFromWeb" + ], + "description": "This command allows a Site Script to be generated off of an existing site on your tenant. You need to provide at least one of the optional Include or Lists arguments. If you omit the URL, the Site Script will be created from the site to which you are connected.", + "body": [ + "Get-PnPSiteScriptFromWeb -Url $1" ] }, "Get-PnPSiteSearchQueryResults": { - "body": [ - "Get-PnPSiteSearchQueryResults " - ], - "description": "Allows to run a search query to retrieve indexed site collections.", "prefix": [ "Get-PnPSiteSearchQueryResults" + ], + "description": "Allows to run a search query to retrieve indexed site collections.", + "body": [ + "Get-PnPSiteSearchQueryResults " ] }, "Get-PnPSiteSensitivityLabel": { - "body": [ - "Get-PnPSiteSensitivityLabel " - ], - "description": "This cmdlet allows retrieval of the currently assigned Microsoft Purview sensitivity label to the currently connected to site.", "prefix": [ "Get-PnPSiteSensitivityLabel" + ], + "description": "This cmdlet allows retrieval of the currently assigned Microsoft Purview sensitivity label to the currently connected to site.", + "body": [ + "Get-PnPSiteSensitivityLabel " ] }, "Get-PnPSiteSetVersionPolicyProgress": { - "body": [ - "Get-PnPSiteSetVersionPolicyProgress " - ], - "description": "This cmdlet allows retrieval of the progress of setting version policy for existing document libraries on the site.", "prefix": [ "Get-PnPSiteSetVersionPolicyProgress" + ], + "description": "This cmdlet allows retrieval of the progress of setting version policy for existing document libraries on the site.", + "body": [ + "Get-PnPSiteSetVersionPolicyProgress " ] }, "Get-PnPSiteTemplate": { - "body": [ - "Get-PnPSiteTemplate " - ], - "description": "Allows to generate a provisioning site template from a web.", "prefix": [ "Get-PnPSiteTemplate" + ], + "description": "Allows to generate a provisioning site template from a web.", + "body": [ + "Get-PnPSiteTemplate " ] }, "Get-PnPSiteUserInvitations": { - "body": [ - "Get-PnPSiteUserInvitations " - ], - "description": "Searches against all stored sharing links on a Site and retrieves the email invites. If the site parameter is omitted the current site will be searched.", "prefix": [ "Get-PnPSiteUserInvitations" + ], + "description": "Searches against all stored sharing links on a Site and retrieves the email invites. If the site parameter is omitted the current site will be searched.", + "body": [ + "Get-PnPSiteUserInvitations " ] }, "Get-PnPSiteVersionPolicy": { - "body": [ - "Get-PnPSiteVersionPolicy " - ], - "description": "This cmdlet allows retrieval of version policy setting on the site. When the new document libraries are created, they will be set as the version policy of the site. If the version policy is not set on the site, the setting of the tenant will be used.", "prefix": [ "Get-PnPSiteVersionPolicy" + ], + "description": "This cmdlet allows retrieval of version policy setting on the site. When the new document libraries are created, they will be set as the version policy of the site. If the version policy is not set on the site, the setting of the tenant will be used.", + "body": [ + "Get-PnPSiteVersionPolicy " ] }, "Get-PnPStorageEntity": { - "body": [ - "Get-PnPStorageEntity " - ], - "description": "Allows to retrieve storage entities from either tenant app catalog or current site app catalog.", "prefix": [ "Get-PnPStorageEntity" + ], + "description": "Allows to retrieve storage entities from either tenant app catalog or current site app catalog.", + "body": [ + "Get-PnPStorageEntity " ] }, "Get-PnPStoredCredential": { - "body": [ - "Get-PnPStoredCredential -Name $1" - ], - "description": "Returns a stored credential from the Windows Credential Manager or Mac OS Key Chain Entry.", "prefix": [ "Get-PnPStoredCredential" + ], + "description": "Returns a stored credential from the Windows Credential Manager or Mac OS Key Chain Entry.", + "body": [ + "Get-PnPStoredCredential -Name $1" ] }, "Get-PnPStructuralNavigationCacheSiteState": { - "body": [ - "Get-PnPStructuralNavigationCacheSiteState " - ], - "description": "The Get-PnPStructuralNavigationCacheSiteState cmdlet can be used to determine if structural navigation caching is enabled or disabled for a site collection. If the SiteUrl parameter has not been specified the currently connected to site will be used.", "prefix": [ "Get-PnPStructuralNavigationCacheSiteState" + ], + "description": "The Get-PnPStructuralNavigationCacheSiteState cmdlet can be used to determine if structural navigation caching is enabled or disabled for a site collection. If the SiteUrl parameter has not been specified the currently connected to site will be used.", + "body": [ + "Get-PnPStructuralNavigationCacheSiteState " ] }, "Get-PnPStructuralNavigationCacheWebState": { - "body": [ - "Get-PnPStructuralNavigationCacheWebState " - ], - "description": "The Get-PnPStructuralNavigationCacheWebState cmdlet can be used to determine if structural navigation caching is enabled or disabled for a web in a site collection. If the WebUrl parameter has not been specified the currently connected to web will be used.", "prefix": [ "Get-PnPStructuralNavigationCacheWebState" + ], + "description": "The Get-PnPStructuralNavigationCacheWebState cmdlet can be used to determine if structural navigation caching is enabled or disabled for a web in a site collection. If the WebUrl parameter has not been specified the currently connected to web will be used.", + "body": [ + "Get-PnPStructuralNavigationCacheWebState " ] }, "Get-PnPSubscribeSharePointNewsDigest": { - "body": [ - "Get-PnPSubscribeSharePointNewsDigest -Account $1" + "prefix": [ + "Get-PnPSubscribeSharePointNewsDigest" ], "description": [ "Requires a connection to a SharePoint Tenant Admin site.", "Retrieves if the SharePoint News Digest mails are enabled or disabled for a particular user." ], - "prefix": [ - "Get-PnPSubscribeSharePointNewsDigest" + "body": [ + "Get-PnPSubscribeSharePointNewsDigest -Account $1" ] }, "Get-PnPSubWeb": { - "body": [ - "Get-PnPSubWeb " - ], - "description": "Allows to retrieve subwebs of the current web.", "prefix": [ "Get-PnPSubWeb" + ], + "description": "Allows to retrieve subwebs of the current web.", + "body": [ + "Get-PnPSubWeb " ] }, "Get-PnPSyntexModel": { - "body": [ - "Get-PnPSyntexModel " - ], - "description": "This command allows the retrieval of a Syntex document processing models defined in the connected Syntex Content Center site.", "prefix": [ "Get-PnPSyntexModel" + ], + "description": "This command allows the retrieval of a Syntex document processing models defined in the connected Syntex Content Center site.", + "body": [ + "Get-PnPSyntexModel " ] }, "Get-PnPSyntexModelPublication": { - "body": [ - "Get-PnPSyntexModelPublication -Model $1" - ], - "description": "This command returns the libraries to which a Syntex document processing model defined in the connected Syntex Content Center site was published.", "prefix": [ "Get-PnPSyntexModelPublication" + ], + "description": "This command returns the libraries to which a Syntex document processing model defined in the connected Syntex Content Center site was published.", + "body": [ + "Get-PnPSyntexModelPublication -Model $1" ] }, "Get-PnPTaxonomyItem": { - "body": [ - "Get-PnPTaxonomyItem " - ], - "description": "Provide the term path only and then the term item if found will be returned.", "prefix": [ "Get-PnPTaxonomyItem" + ], + "description": "Provide the term path only and then the term item if found will be returned.", + "body": [ + "Get-PnPTaxonomyItem " ] }, "Get-PnPTaxonomySession": { - "body": [ - "Get-PnPTaxonomySession " - ], - "description": "Allows to retrieve taxonomy session.", "prefix": [ "Get-PnPTaxonomySession" + ], + "description": "Allows to retrieve taxonomy session.", + "body": [ + "Get-PnPTaxonomySession " ] }, "Get-PnPTeamsApp": { - "body": [ - "Get-PnPTeamsApp " + "prefix": [ + "Get-PnPTeamsApp" ], "description": [ "Allows to retrieve Microsoft Teams apps. By using Identity option it is possible to retrieve a specific app.", "Identity" ], - "prefix": [ - "Get-PnPTeamsApp" + "body": [ + "Get-PnPTeamsApp " ] }, "Get-PnPTeamsChannel": { - "body": [ - "Get-PnPTeamsChannel -Team $1" - ], - "description": "Allows to retrieve list of channels for a specified team.", "prefix": [ "Get-PnPTeamsChannel" + ], + "description": "Allows to retrieve list of channels for a specified team.", + "body": [ + "Get-PnPTeamsChannel -Team $1" ] }, "Get-PnPTeamsChannelFilesFolder": { - "body": [ - "Get-PnPTeamsChannelFilesFolder " - ], - "description": "Allows to retrieve folder metadata for specified channel.", "prefix": [ "Get-PnPTeamsChannelFilesFolder" + ], + "description": "Allows to retrieve folder metadata for specified channel.", + "body": [ + "Get-PnPTeamsChannelFilesFolder " ] }, "Get-PnPTeamsChannelMessage": { - "body": [ - "Get-PnPTeamsChannelMessage -Team $1 -Channel $2" - ], - "description": "Allows to retrieve messages from the specified channel.", "prefix": [ "Get-PnPTeamsChannelMessage" + ], + "description": "Allows to retrieve messages from the specified channel.", + "body": [ + "Get-PnPTeamsChannelMessage -Team $1 -Channel $2" ] }, "Get-PnPTeamsChannelMessageReply": { - "body": [ - "Get-PnPTeamsChannelMessageReply -Team $1 -Channel $2 -Message $3" - ], - "description": "Allows to retrieve replies from the specified channel message.", "prefix": [ "Get-PnPTeamsChannelMessageReply" + ], + "description": "Allows to retrieve replies from the specified channel message.", + "body": [ + "Get-PnPTeamsChannelMessageReply -Team $1 -Channel $2 -Message $3" ] }, "Get-PnPTeamsChannelUser": { - "body": [ - "Get-PnPTeamsChannelUser -Team $1 -Channel $2" - ], - "description": "Allows to retrieve list of members of the specified private channel.", "prefix": [ "Get-PnPTeamsChannelUser" + ], + "description": "Allows to retrieve list of members of the specified private channel.", + "body": [ + "Get-PnPTeamsChannelUser -Team $1 -Channel $2" ] }, "Get-PnPTeamsPrimaryChannel": { - "body": [ - "Get-PnPTeamsPrimaryChannel -Team $1" - ], - "description": "Gets the default channel, General, of a team.", "prefix": [ "Get-PnPTeamsPrimaryChannel" + ], + "description": "Gets the default channel, General, of a team.", + "body": [ + "Get-PnPTeamsPrimaryChannel -Team $1" ] }, "Get-PnPTeamsTab": { - "body": [ - "Get-PnPTeamsTab -Team $1 -Channel $2" + "prefix": [ + "Get-PnPTeamsTab" ], "description": [ "Allows to retrieve tabs in channel. By using Identity it is possible to retrieve a specific single tab.", "Identity" ], - "prefix": [ - "Get-PnPTeamsTab" + "body": [ + "Get-PnPTeamsTab -Team $1 -Channel $2" ] }, "Get-PnPTeamsTag": { - "body": [ - "Get-PnPTeamsTag -Team $1" - ], - "description": "", "prefix": [ "Get-PnPTeamsTag" + ], + "description": "", + "body": [ + "Get-PnPTeamsTag -Team $1" ] }, "Get-PnPTeamsTeam": { - "body": [ - "Get-PnPTeamsTeam " + "prefix": [ + "Get-PnPTeamsTeam" ], "description": [ "Allows to retrieve list of Microsoft Teams teams. By using Identity it is possible to retrieve a specific team, and by using Filter you can supply any filter queries supported by the Graph API.", "Identity", "Filter" ], - "prefix": [ - "Get-PnPTeamsTeam" + "body": [ + "Get-PnPTeamsTeam " ] }, "Get-PnPTeamsUser": { - "body": [ - "Get-PnPTeamsUser -Team $1" - ], - "description": "Allows to retrieve list of owners, members or guests from a team.", "prefix": [ "Get-PnPTeamsUser" + ], + "description": "Allows to retrieve list of owners, members or guests from a team.", + "body": [ + "Get-PnPTeamsUser -Team $1" ] }, "Get-PnPTemporarilyDisableAppBar": { - "body": [ - "Get-PnPTemporarilyDisableAppBar " - ], - "description": "Allows to retrieve disabled state of the SharePoint Online App Bar.", "prefix": [ "Get-PnPTemporarilyDisableAppBar" + ], + "description": "Allows to retrieve disabled state of the SharePoint Online App Bar.", + "body": [ + "Get-PnPTemporarilyDisableAppBar " ] }, "Get-PnPTenant": { - "body": [ - "Get-PnPTenant " + "prefix": [ + "Get-PnPTenant" ], "description": [ "Returns organization-level site collection properties such as StorageQuota, StorageQuotaAllocated, ResourceQuota, ResourceQuotaAllocated, and SiteCreationMode.", "Currently, there are no parameters for this cmdlet.", "You must have the SharePoint Online admin or Global admin role to run the cmdlet." ], - "prefix": [ - "Get-PnPTenant" + "body": [ + "Get-PnPTenant " ] }, "Get-PnPTenantAppCatalogUrl": { - "body": [ - "Get-PnPTenantAppCatalogUrl " - ], - "description": "Allows to retrieve the url of the tenant scoped app catalog.", "prefix": [ "Get-PnPTenantAppCatalogUrl" + ], + "description": "Allows to retrieve the url of the tenant scoped app catalog.", + "body": [ + "Get-PnPTenantAppCatalogUrl " ] }, "Get-PnPTenantCdnEnabled": { - "body": [ - "Get-PnPTenantCdnEnabled -CdnType $1" - ], - "description": "Enables or disabled the public or private Office 365 Content Delivery Network (CDN).", "prefix": [ "Get-PnPTenantCdnEnabled" + ], + "description": "Enables or disabled the public or private Office 365 Content Delivery Network (CDN).", + "body": [ + "Get-PnPTenantCdnEnabled -CdnType $1" ] }, "Get-PnPTenantCdnOrigin": { - "body": [ - "Get-PnPTenantCdnOrigin -CdnType $1" - ], - "description": "Returns the current registered origins from the public or private content delivery network (CDN).", "prefix": [ "Get-PnPTenantCdnOrigin" + ], + "description": "Returns the current registered origins from the public or private content delivery network (CDN).", + "body": [ + "Get-PnPTenantCdnOrigin -CdnType $1" ] }, "Get-PnPTenantCdnPolicies": { - "body": [ - "Get-PnPTenantCdnPolicies -CdnType $1" - ], - "description": "Retrieves the current CDN policies for the tenant for the specified CDN type.", "prefix": [ "Get-PnPTenantCdnPolicies" + ], + "description": "Retrieves the current CDN policies for the tenant for the specified CDN type.", + "body": [ + "Get-PnPTenantCdnPolicies -CdnType $1" ] }, "Get-PnPTenantDeletedSite": { - "body": [ - "Get-PnPTenantDeletedSite " - ], - "description": "Fetches the site collections which are listed in your tenant's recycle bin.", "prefix": [ "Get-PnPTenantDeletedSite" + ], + "description": "Fetches the site collections which are listed in your tenant's recycle bin.", + "body": [ + "Get-PnPTenantDeletedSite " ] }, "Get-PnPTenantId": { - "body": [ - "Get-PnPTenantId -TenantUrl $1" - ], - "description": "Allows to retrieve id of tenant. This does not require an active connection to that tenant.", "prefix": [ "Get-PnPTenantId" + ], + "description": "Allows to retrieve id of tenant. This does not require an active connection to that tenant.", + "body": [ + "Get-PnPTenantId -TenantUrl $1" ] }, "Get-PnPTenantInfo": { - "body": [ - "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" + ], + "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.", + "body": [ + "Get-PnPTenantInfo " ] }, "Get-PnPTenantInstance": { - "body": [ - "Get-PnPTenantInstance " - ], - "description": "Allows to retrieve list of all instances of the tenant.", "prefix": [ "Get-PnPTenantInstance" + ], + "description": "Allows to retrieve list of all instances of the tenant.", + "body": [ + "Get-PnPTenantInstance " ] }, "Get-PnPTenantRecycleBinItem": { - "body": [ - "Get-PnPTenantRecycleBinItem " - ], - "description": "This command will return all the items in the tenant recycle bin for the Office 365 tenant you are connected to. If you are not a SharePoint Tenant Admin connect to the site where you want to manage the recycle bin and use Get-PnPRecycleBinItem.", "prefix": [ "Get-PnPTenantRecycleBinItem" + ], + "description": "This command will return all the items in the tenant recycle bin for the Office 365 tenant you are connected to. If you are not a SharePoint Tenant Admin connect to the site where you want to manage the recycle bin and use Get-PnPRecycleBinItem.", + "body": [ + "Get-PnPTenantRecycleBinItem " ] }, "Get-PnPTenantSequence": { - "body": [ - "Get-PnPTenantSequence -Template $1" + "prefix": [ + "Get-PnPTenantSequence" ], "description": [ "Allows to retrieve provisioning sequence objects from a tenant template. By using Identity option it is possible to retrieve a specific provisioning sequence object.", "Identity" ], - "prefix": [ - "Get-PnPTenantSequence" + "body": [ + "Get-PnPTenantSequence -Template $1" ] }, "Get-PnPTenantSequenceSite": { - "body": [ - "Get-PnPTenantSequenceSite -Sequence $1" - ], - "description": "Allows to retrieve list of sites from tenant template sequence.", "prefix": [ "Get-PnPTenantSequenceSite" + ], + "description": "Allows to retrieve list of sites from tenant template sequence.", + "body": [ + "Get-PnPTenantSequenceSite -Sequence $1" ] }, "Get-PnPTenantServicePrincipal": { - "body": [ - "Get-PnPTenantServicePrincipal " - ], - "description": "Returns the current tenant's \"SharePoint Online Client\" service principal.", "prefix": [ "Get-PnPTenantServicePrincipal" + ], + "description": "Returns the current tenant's \"SharePoint Online Client\" service principal.", + "body": [ + "Get-PnPTenantServicePrincipal " ] }, "Get-PnPTenantServicePrincipalPermissionGrants": { - "body": [ - "Get-PnPTenantServicePrincipalPermissionGrants " + "prefix": [ + "Get-PnPTenantServicePrincipalPermissionGrants" ], "description": [ "Gets the collection of permission grants for the \"SharePoint Online Client\" service principal.", @@ -3250,13 +3250,13 @@ "ResourceId: The objectId of the resource service principal to which access has been granted. ", "Scope: The value of the scope claim that the resource application should expect in the OAuth 2.0 access token. " ], - "prefix": [ - "Get-PnPTenantServicePrincipalPermissionGrants" + "body": [ + "Get-PnPTenantServicePrincipalPermissionGrants " ] }, "Get-PnPTenantServicePrincipalPermissionRequests": { - "body": [ - "Get-PnPTenantServicePrincipalPermissionRequests " + "prefix": [ + "Get-PnPTenantServicePrincipalPermissionRequests" ], "description": [ "Gets the collection of permission requests for the \"SharePoint Online Client\" service principal.", @@ -3267,308 +3267,308 @@ "Resource: The resource that the application requires access to. ", "Scope: The value of the scope claim that the resource application should expect in the OAuth 2.0 access token. " ], - "prefix": [ - "Get-PnPTenantServicePrincipalPermissionRequests" + "body": [ + "Get-PnPTenantServicePrincipalPermissionRequests " ] }, "Get-PnPTenantSite": { - "body": [ - "Get-PnPTenantSite " - ], - "description": "This cmdlet allows for retrieval of site collection information through the SharePoint Online tenant site. It requires having SharePoint Online administrator access.", "prefix": [ "Get-PnPTenantSite" + ], + "description": "This cmdlet allows for retrieval of site collection information through the SharePoint Online tenant site. It requires having SharePoint Online administrator access.", + "body": [ + "Get-PnPTenantSite " ] }, "Get-PnPTenantSyncClientRestriction": { - "body": [ - "Get-PnPTenantSyncClientRestriction " + "prefix": [ + "Get-PnPTenantSyncClientRestriction" ], "description": [ "Returns organization-level OneDrive synchronization restriction properties such as BlockMacSync, OptOutOfGrooveBlock, and TenantRestrictionEnabled.", "Currently, there are no parameters for this cmdlet.", "You must have the SharePoint Online admin or Global admin role to run the cmdlet." ], - "prefix": [ - "Get-PnPTenantSyncClientRestriction" + "body": [ + "Get-PnPTenantSyncClientRestriction " ] }, "Get-PnPTenantTemplate": { - "body": [ - "Get-PnPTenantTemplate " - ], - "description": "Allows to generate a provisioning tenant template from a site. If the site is a hubsite any connected site will be included.", "prefix": [ "Get-PnPTenantTemplate" + ], + "description": "Allows to generate a provisioning tenant template from a site. If the site is a hubsite any connected site will be included.", + "body": [ + "Get-PnPTenantTemplate " ] }, "Get-PnPTenantTheme": { - "body": [ - "Get-PnPTenantTheme " - ], - "description": "Returns all or a specific tenant theme.", "prefix": [ "Get-PnPTenantTheme" + ], + "description": "Returns all or a specific tenant theme.", + "body": [ + "Get-PnPTenantTheme " ] }, "Get-PnPTerm": { - "body": [ - "Get-PnPTerm -Identity $1" - ], - "description": "Retries a Term Store Term.", "prefix": [ "Get-PnPTerm" + ], + "description": "Retries a Term Store Term.", + "body": [ + "Get-PnPTerm -Identity $1" ] }, "Get-PnPTermGroup": { - "body": [ - "Get-PnPTermGroup " - ], - "description": "Allows to retrieve a taxonomy term group.", "prefix": [ "Get-PnPTermGroup" + ], + "description": "Allows to retrieve a taxonomy term group.", + "body": [ + "Get-PnPTermGroup " ] }, "Get-PnPTermLabel": { - "body": [ - "Get-PnPTermLabel -Term $1" - ], - "description": "This cmdlets allows to retrieve all or a specific translation label for a term", "prefix": [ "Get-PnPTermLabel" + ], + "description": "This cmdlets allows to retrieve all or a specific translation label for a term", + "body": [ + "Get-PnPTermLabel -Term $1" ] }, "Get-PnPTermSet": { - "body": [ - "Get-PnPTermSet " - ], - "description": "This cmdlet returns a termset from the taxonomy store.", "prefix": [ "Get-PnPTermSet" + ], + "description": "This cmdlet returns a termset from the taxonomy store.", + "body": [ + "Get-PnPTermSet " ] }, "Get-PnPTheme": { - "body": [ - "Get-PnPTheme " - ], - "description": "Allows to retrieve current theme/composed look of the current web.", "prefix": [ "Get-PnPTheme" + ], + "description": "Allows to retrieve current theme/composed look of the current web.", + "body": [ + "Get-PnPTheme " ] }, "Get-PnPTimeZoneId": { - "body": [ - "Get-PnPTimeZoneId " - ], - "description": "In order to create a new classic site you need to specify the timezone this site will use. Use the cmdlet to retrieve a list of possible values.", "prefix": [ "Get-PnPTimeZoneId" + ], + "description": "In order to create a new classic site you need to specify the timezone this site will use. Use the cmdlet to retrieve a list of possible values.", + "body": [ + "Get-PnPTimeZoneId " ] }, "Get-PnPUnfurlLink": { - "body": [ - "Get-PnPUnfurlLink -Url $1" - ], - "description": "Creates a new organization sharing link for a file.", "prefix": [ "Get-PnPUnfurlLink" + ], + "description": "Creates a new organization sharing link for a file.", + "body": [ + "Get-PnPUnfurlLink -Url $1" ] }, "Get-PnPUnifiedAuditLog": { - "body": [ - "Get-PnPUnifiedAuditLog " - ], - "description": "Allows to retrieve unified audit logs from the Office 365 Management API.", "prefix": [ "Get-PnPUnifiedAuditLog" + ], + "description": "Allows to retrieve unified audit logs from the Office 365 Management API.", + "body": [ + "Get-PnPUnifiedAuditLog " ] }, "Get-PnPUPABulkImportStatus": { - "body": [ - "Get-PnPUPABulkImportStatus " - ], - "description": "Retrieve information about the status of submitted user profile bulk upload jobs.", "prefix": [ "Get-PnPUPABulkImportStatus" + ], + "description": "Retrieve information about the status of submitted user profile bulk upload jobs.", + "body": [ + "Get-PnPUPABulkImportStatus " ] }, "Get-PnPUser": { - "body": [ - "Get-PnPUser " - ], - "description": "This command will return all users that exist in the current site collection's User Information List, optionally identifying their current permissions to this site", "prefix": [ "Get-PnPUser" + ], + "description": "This command will return all users that exist in the current site collection's User Information List, optionally identifying their current permissions to this site", + "body": [ + "Get-PnPUser " ] }, "Get-PnPUserOneDriveQuota": { - "body": [ - "Get-PnPUserOneDriveQuota " - ], - "description": "This command allows you to request the quota set on the OneDrive for Business site of a specific user.", "prefix": [ "Get-PnPUserOneDriveQuota" + ], + "description": "This command allows you to request the quota set on the OneDrive for Business site of a specific user.", + "body": [ + "Get-PnPUserOneDriveQuota " ] }, "Get-PnPUserProfileProperty": { - "body": [ - "Get-PnPUserProfileProperty -Account $1" - ], - "description": "Requires a connection to a SharePoint Tenant Admin site.", "prefix": [ "Get-PnPUserProfileProperty" + ], + "description": "Requires a connection to a SharePoint Tenant Admin site.", + "body": [ + "Get-PnPUserProfileProperty -Account $1" ] }, "Get-PnPView": { - "body": [ - "Get-PnPView " + "prefix": [ + "Get-PnPView" ], "description": [ "Allows to retrieve list of views from a list. By using Identity option it is possible to retrieve a specific view.", "Identity" ], - "prefix": [ - "Get-PnPView" + "body": [ + "Get-PnPView " ] }, "Get-PnPVivaConnectionsDashboardACE": { - "body": [ - "Get-PnPVivaConnectionsDashboardACE " - ], - "description": "Allows to retrieve the adaptive card extensions from the Viva connections dashboard page.", "prefix": [ "Get-PnPVivaConnectionsDashboardACE" + ], + "description": "Allows to retrieve the adaptive card extensions from the Viva connections dashboard page.", + "body": [ + "Get-PnPVivaConnectionsDashboardACE " ] }, "Get-PnPWeb": { - "body": [ - "Get-PnPWeb " - ], - "description": "Allows to retrieve the current web.", "prefix": [ "Get-PnPWeb" + ], + "description": "Allows to retrieve the current web.", + "body": [ + "Get-PnPWeb " ] }, "Get-PnPWebHeader": { - "body": [ - "Get-PnPWebHeader " - ], - "description": "Through this cmdlet the current configuration of the various options offered through \"Change the look\" Header can be retrieved.", "prefix": [ "Get-PnPWebHeader" + ], + "description": "Through this cmdlet the current configuration of the various options offered through \"Change the look\" Header can be retrieved.", + "body": [ + "Get-PnPWebHeader " ] }, "Get-PnPWebhookSubscription": { - "body": [ - "Get-PnPWebhookSubscription " - ], - "description": "Allows to retrieve Webhook subscriptions of specified list.", "prefix": [ "Get-PnPWebhookSubscription" + ], + "description": "Allows to retrieve Webhook subscriptions of specified list.", + "body": [ + "Get-PnPWebhookSubscription " ] }, "Get-PnPWebPart": { - "body": [ - "Get-PnPWebPart -ServerRelativePageUrl $1" - ], - "description": "Allows retrieval of the definition of a webpart on a classic SharePoint Online page.", "prefix": [ "Get-PnPWebPart" + ], + "description": "Allows retrieval of the definition of a webpart on a classic SharePoint Online page.", + "body": [ + "Get-PnPWebPart -ServerRelativePageUrl $1" ] }, "Get-PnPWebPartProperty": { - "body": [ - "Get-PnPWebPartProperty -ServerRelativePageUrl $1 -Identity $2" - ], - "description": "Allows to retrieve web part property.", "prefix": [ "Get-PnPWebPartProperty" + ], + "description": "Allows to retrieve web part property.", + "body": [ + "Get-PnPWebPartProperty -ServerRelativePageUrl $1 -Identity $2" ] }, "Get-PnPWebPartXml": { - "body": [ - "Get-PnPWebPartXml -ServerRelativePageUrl $1 -Identity $2" - ], - "description": "Allows to retrieve web part XML defintion.", "prefix": [ "Get-PnPWebPartXml" + ], + "description": "Allows to retrieve web part XML defintion.", + "body": [ + "Get-PnPWebPartXml -ServerRelativePageUrl $1 -Identity $2" ] }, "Get-PnPWebTemplates": { - "body": [ - "Get-PnPWebTemplates " - ], - "description": "Will list all available classic templates one can use to create a site. Modern templates will not be returned.", "prefix": [ "Get-PnPWebTemplates" + ], + "description": "Will list all available classic templates one can use to create a site. Modern templates will not be returned.", + "body": [ + "Get-PnPWebTemplates " ] }, "Get-PnPWikiPageContent": { - "body": [ - "Get-PnPWikiPageContent " - ], - "description": "Allows to retrieve contents/source of a wiki page.", "prefix": [ "Get-PnPWikiPageContent" + ], + "description": "Allows to retrieve contents/source of a wiki page.", + "body": [ + "Get-PnPWikiPageContent " ] }, "Grant-PnPAzureADAppSitePermission": { - "body": [ - "Grant-PnPAzureADAppSitePermission -AppId $1 -DisplayName $2 -Permissions $3" - ], - "description": "This cmdlet adds permissions for a given Azure Active Directory application registration in a site collection. It is used in conjunction with the Azure Active Directory SharePoint application permission Sites.Selected.", "prefix": [ "Grant-PnPAzureADAppSitePermission" + ], + "description": "This cmdlet adds permissions for a given Azure Active Directory application registration in a site collection. It is used in conjunction with the Azure Active Directory SharePoint application permission Sites.Selected.", + "body": [ + "Grant-PnPAzureADAppSitePermission -AppId $1 -DisplayName $2 -Permissions $3" ] }, "Grant-PnPHubSiteRights": { - "body": [ - "Grant-PnPHubSiteRights " - ], - "description": "Allows to add additional permissions to existing once to associate sites to Hub Sites for specified users.", "prefix": [ "Grant-PnPHubSiteRights" + ], + "description": "Allows to add additional permissions to existing once to associate sites to Hub Sites for specified users.", + "body": [ + "Grant-PnPHubSiteRights " ] }, "Grant-PnPSiteDesignRights": { - "body": [ - "Grant-PnPSiteDesignRights " - ], - "description": "Allows to grant permission to use the site design for specified principal.", "prefix": [ "Grant-PnPSiteDesignRights" + ], + "description": "Allows to grant permission to use the site design for specified principal.", + "body": [ + "Grant-PnPSiteDesignRights " ] }, "Grant-PnPTenantServicePrincipalPermission": { - "body": [ - "Grant-PnPTenantServicePrincipalPermission -Scope $1" - ], - "description": "Allows to grant a specified permission o the \"SharePoint Online Client Extensibility Web Application Principal\" service principal for SPFx solutions.", "prefix": [ "Grant-PnPTenantServicePrincipalPermission" + ], + "description": "Allows to grant a specified permission o the \"SharePoint Online Client Extensibility Web Application Principal\" service principal for SPFx solutions.", + "body": [ + "Grant-PnPTenantServicePrincipalPermission -Scope $1" ] }, "Import-PnPTaxonomy": { - "body": [ - "Import-PnPTaxonomy " - ], - "description": "Allows to import taxonomy terms from array or file.", "prefix": [ "Import-PnPTaxonomy" + ], + "description": "Allows to import taxonomy terms from array or file.", + "body": [ + "Import-PnPTaxonomy " ] }, "Import-PnPTermGroupFromXml": { - "body": [ - "Import-PnPTermGroupFromXml " - ], - "description": "Allows to import taxonomy term group from xml.", "prefix": [ "Import-PnPTermGroupFromXml" + ], + "description": "Allows to import taxonomy term group from xml.", + "body": [ + "Import-PnPTermGroupFromXml " ] }, "Import-PnPTermSet": { - "body": [ - "Import-PnPTermSet -GroupName $1 -Path $2" + "prefix": [ + "Import-PnPTermSet" ], "description": [ "The format of the file is the same as that used by the import function in the web interface. A sample file can be obtained from the web interface.", @@ -3579,80 +3579,80 @@ "In contrast to the web interface import, this is not a one-off import but runs synchronization logic allowing updating of an existing Term Set. When synchronizing, any existing terms are matched (with Term Description and Available for Tagging updated as necessary), any new terms are added in the correct place in the hierarchy, and (if synchronizeDeletions is set) any terms not in the imported file are removed.", "The import file also supports an expanded syntax for the Term Set Name and term names (Level 1 Term, Level 2 Term, etc). These columns support values with the format 'Name | GUID', with the name and GUID separated by a pipe character (note that the pipe character is invalid to use within a taxonomy item name). This expanded syntax is not required, but can be used to ensure all terms have fixed IDs." ], - "prefix": [ - "Import-PnPTermSet" + "body": [ + "Import-PnPTermSet -GroupName $1 -Path $2" ] }, "Install-PnPApp": { - "body": [ - "Install-PnPApp " - ], - "description": "Allows to install an available app from the app catalog.", "prefix": [ "Install-PnPApp" + ], + "description": "Allows to install an available app from the app catalog.", + "body": [ + "Install-PnPApp " ] }, "Invoke-PnPBatch": { - "body": [ - "Invoke-PnPBatch " - ], - "description": "Executes any queued actions / changes in the batch.", "prefix": [ "Invoke-PnPBatch" + ], + "description": "Executes any queued actions / changes in the batch.", + "body": [ + "Invoke-PnPBatch " ] }, "Invoke-PnPGraphMethod": { - "body": [ - "Invoke-PnPGraphMethod -Url $1" - ], - "description": "Invokes a REST request towards the Microsoft Graph API. It will take care of potential throttling retries that are needed to retrieve the data.", "prefix": [ "Invoke-PnPGraphMethod" + ], + "description": "Invokes a REST request towards the Microsoft Graph API. It will take care of potential throttling retries that are needed to retrieve the data.", + "body": [ + "Invoke-PnPGraphMethod -Url $1" ] }, "Invoke-PnPListDesign": { - "body": [ - "Invoke-PnPListDesign " - ], - "description": "Applies the List Design provided through Identity to an existing site.", "prefix": [ "Invoke-PnPListDesign" + ], + "description": "Applies the List Design provided through Identity to an existing site.", + "body": [ + "Invoke-PnPListDesign " ] }, "Invoke-PnPQuery": { - "body": [ - "Invoke-PnPQuery " - ], - "description": "Executes any queued actions / changes on the SharePoint Client Side Object Model Context", "prefix": [ "Invoke-PnPQuery" + ], + "description": "Executes any queued actions / changes on the SharePoint Client Side Object Model Context", + "body": [ + "Invoke-PnPQuery " ] }, "Invoke-PnPSiteDesign": { - "body": [ - "Invoke-PnPSiteDesign " - ], - "description": "Applies the Site Design provided through Identity to an existing site. When providing a site design name and multiple site designs exist with the same name, all of them will be invoked.", "prefix": [ "Invoke-PnPSiteDesign" + ], + "description": "Applies the Site Design provided through Identity to an existing site. When providing a site design name and multiple site designs exist with the same name, all of them will be invoked.", + "body": [ + "Invoke-PnPSiteDesign " ] }, "Invoke-PnPSiteScript": { - "body": [ - "Invoke-PnPSiteScript -Identity $1 -WebUrl $2" + "prefix": [ + "Invoke-PnPSiteScript" ], "description": [ "Applies the Site Design provided through Identity to an existing site. When providing a site design name and multiple site designs exist with the same name, all of them will be invoked and applied. It is also possible to provide a site script directly without having to add it as a site script first. This could be ideal for making quick one time copies of i.e. lists and sites.", "When passing in a site script through -Script, you only need to have permissions to the site you are applying the site script to. When passing in a site script through -Identity, you need to be connected to the SharePoint Online admin site collection and have rights to access it. Using the -WebUrl you can specify the full URL of the site collection you wish to apply the site script to.", "The output provided by this cmdlet are the site script actions that have been applied along with for each of them information on if they were successfully applied." ], - "prefix": [ - "Invoke-PnPSiteScript" + "body": [ + "Invoke-PnPSiteScript -Identity $1 -WebUrl $2" ] }, "Invoke-PnPSiteSwap": { - "body": [ - "Invoke-PnPSiteSwap -SourceUrl $1 -TargetUrl $2 -ArchiveUrl $3" + "prefix": [ + "Invoke-PnPSiteSwap" ], "description": [ "Swaps the location of a source site with a target site while archiving the original target site.", @@ -3671,244 +3671,244 @@ "Larger tenants that have more than ~10,000 licenses may also need to run the Page Diagnostic Tool against the source site. Any analysis results that have the category Attention required (Red) or Improvement opportunities (Orange) will need to be remediated before performing the swap. ", "The source and target sites can't be connected to an Office 365 group. They also can't be hub sites or associated with a hub. If a site is a hub site, unregister it as a hub site, swap the root site, and then register the site as a hub site. If a site is associated with a hub, disassociate the site, swap the root site, and then re-associate the site." ], - "prefix": [ - "Invoke-PnPSiteSwap" + "body": [ + "Invoke-PnPSiteSwap -SourceUrl $1 -TargetUrl $2 -ArchiveUrl $3" ] }, "Invoke-PnPSiteTemplate": { - "body": [ - "Invoke-PnPSiteTemplate " - ], - "description": "Allows to apply a site template on a web.", "prefix": [ "Invoke-PnPSiteTemplate" + ], + "description": "Allows to apply a site template on a web.", + "body": [ + "Invoke-PnPSiteTemplate " ] }, "Invoke-PnPSPRestMethod": { - "body": [ - "Invoke-PnPSPRestMethod -Url $1" - ], - "description": "Invokes a REST request towards a SharePoint site.", "prefix": [ "Invoke-PnPSPRestMethod" + ], + "description": "Invokes a REST request towards a SharePoint site.", + "body": [ + "Invoke-PnPSPRestMethod -Url $1" ] }, "Invoke-PnPTenantTemplate": { - "body": [ - "Invoke-PnPTenantTemplate " - ], - "description": "Allows to apply a tenant template on current tenant.", "prefix": [ "Invoke-PnPTenantTemplate" + ], + "description": "Allows to apply a tenant template on current tenant.", + "body": [ + "Invoke-PnPTenantTemplate " ] }, "Invoke-PnPWebAction": { - "body": [ - "Invoke-PnPWebAction " - ], - "description": "Allows to execute operations on web, lists and list items.", "prefix": [ "Invoke-PnPWebAction" + ], + "description": "Allows to execute operations on web, lists and list items.", + "body": [ + "Invoke-PnPWebAction " ] }, "Measure-PnPList": { - "body": [ - "Measure-PnPList " - ], - "description": "Allows to retrieve statistics on specified list. The command may fail on lists larger than the list view threshold.", "prefix": [ "Measure-PnPList" + ], + "description": "Allows to retrieve statistics on specified list. The command may fail on lists larger than the list view threshold.", + "body": [ + "Measure-PnPList " ] }, "Measure-PnPWeb": { - "body": [ - "Measure-PnPWeb " + "prefix": [ + "Measure-PnPWeb" ], "description": [ "Allows to retrieve statistics on specified web. By specifying Recursive it is possible to retrieve statistics on all subwebs as well.", "Recursive" ], - "prefix": [ - "Measure-PnPWeb" + "body": [ + "Measure-PnPWeb " ] }, "Merge-PnPTerm": { - "body": [ - "Merge-PnPTerm -Identity $1 -3b60 $2 -TargetTerm $3 -3ccf $4" - ], - "description": "This cmdlet merges a taxonomy term into another term.", "prefix": [ "Merge-PnPTerm" + ], + "description": "This cmdlet merges a taxonomy term into another term.", + "body": [ + "Merge-PnPTerm -Identity $1 -3b60 $2 -TargetTerm $3 -3ccf $4" ] }, "Move-PnPFile": { - "body": [ - "Move-PnPFile " + "prefix": [ + "Move-PnPFile" ], "description": [ "Allows moving a file or folder to a different location inside the same document library, such as in a subfolder, to a different document library on the same site collection or to a document library on another site collection. If you move a file to a different site or subweb you cannot specify a target filename.", "Moving files and folders is bound to some restrictions. You can find more on it here: https://learn.microsoft.com/office365/servicedescriptions/sharepoint-online-service-description/sharepoint-online-limits#moving-and-copying-across-sites", "https://learn.microsoft.com/office365/servicedescriptions/sharepoint-online-service-description/sharepoint-online-limits#moving-and-copying-across-sites" ], - "prefix": [ - "Move-PnPFile" + "body": [ + "Move-PnPFile " ] }, "Move-PnPFolder": { - "body": [ - "Move-PnPFolder -Folder $1 -TargetFolder $2" - ], - "description": "Allows to move folder to another location in the current web. If you want to move a folder to a different site collection, use the Move-PnPFile cmdlet instead, which also supports moving folders and also across site collections. Move-PnPFolder can be used to move folders that are within the list view threshold, the commandlet will fail if the list view threshold is exceeded.", "prefix": [ "Move-PnPFolder" + ], + "description": "Allows to move folder to another location in the current web. If you want to move a folder to a different site collection, use the Move-PnPFile cmdlet instead, which also supports moving folders and also across site collections. Move-PnPFolder can be used to move folders that are within the list view threshold, the commandlet will fail if the list view threshold is exceeded.", + "body": [ + "Move-PnPFolder -Folder $1 -TargetFolder $2" ] }, "Move-PnPListItemToRecycleBin": { - "body": [ - "Move-PnPListItemToRecycleBin " - ], - "description": "Allows to move an item to the recycle bin.", "prefix": [ "Move-PnPListItemToRecycleBin" + ], + "description": "Allows to move an item to the recycle bin.", + "body": [ + "Move-PnPListItemToRecycleBin " ] }, "Move-PnPPageComponent": { - "body": [ - "Move-PnPPageComponent " - ], - "description": "Moves a component to a different location on the page. Notice that the sections and or columns need to be present before moving the component.", "prefix": [ "Move-PnPPageComponent" + ], + "description": "Moves a component to a different location on the page. Notice that the sections and or columns need to be present before moving the component.", + "body": [ + "Move-PnPPageComponent " ] }, "Move-PnPRecycleBinItem": { - "body": [ - "Move-PnPRecycleBinItem " - ], - "description": "", "prefix": [ "Move-PnPRecycleBinItem" + ], + "description": "", + "body": [ + "Move-PnPRecycleBinItem " ] }, "Move-PnPTerm": { - "body": [ - "Move-PnPTerm -Identity $1 -3b60 $2 -TargetTermSet $3 -3ccf $4 -TargetTermGroup $5 -5757 $6" - ], - "description": "This cmdlet moves a taxonomy term to another term set or term", "prefix": [ "Move-PnPTerm" + ], + "description": "This cmdlet moves a taxonomy term to another term set or term", + "body": [ + "Move-PnPTerm -Identity $1 -3b60 $2 -TargetTermSet $3 -3ccf $4 -TargetTermGroup $5 -5757 $6" ] }, "Move-PnPTermSet": { - "body": [ - "Move-PnPTermSet -Identity $1 -TermGroup $2 -TargetTermGroup $3" - ], - "description": "This cmdlet moves taxonomy term set from one term group to another.", "prefix": [ "Move-PnPTermSet" + ], + "description": "This cmdlet moves taxonomy term set from one term group to another.", + "body": [ + "Move-PnPTermSet -Identity $1 -TermGroup $2 -TargetTermGroup $3" ] }, "New-PnPAzureADGroup": { - "body": [ - "New-PnPAzureADGroup -DisplayName $1 -Description $2 -MailNickname $3" - ], - "description": "Allows to create an Azure Active Directory group. This can be either security or distribution group.", "prefix": [ "New-PnPAzureADGroup" + ], + "description": "Allows to create an Azure Active Directory group. This can be either security or distribution group.", + "body": [ + "New-PnPAzureADGroup -DisplayName $1 -Description $2 -MailNickname $3" ] }, "New-PnPAzureADUserTemporaryAccessPass": { - "body": [ - "New-PnPAzureADUserTemporaryAccessPass -DisplayName $1 -Description $2 -MailNickname $3" + "prefix": [ + "New-PnPAzureADUserTemporaryAccessPass" ], "description": [ "This cmdlet allows creation of a temporary access pass for a specific user to allow the user to log on once using the generated token. This can be used i.e. when the user needs to sign in to replace the multi factor authentication token.", "You can read more on how to enable Temporary Access Pass in Azure Active Directory in this article. It is disabled by default on Azure Active Directory.", "this article" ], - "prefix": [ - "New-PnPAzureADUserTemporaryAccessPass" + "body": [ + "New-PnPAzureADUserTemporaryAccessPass -DisplayName $1 -Description $2 -MailNickname $3" ] }, "New-PnPAzureCertificate": { - "body": [ - "New-PnPAzureCertificate " - ], - "description": "Allows to create a self-signed certificate and manifest settings to be used with PnP PowerShell via an app-only application registration.", "prefix": [ "New-PnPAzureCertificate" + ], + "description": "Allows to create a self-signed certificate and manifest settings to be used with PnP PowerShell via an app-only application registration.", + "body": [ + "New-PnPAzureCertificate " ] }, "New-PnPBatch": { - "body": [ - "New-PnPBatch " - ], - "description": "Creates a new batch to be used by cmdlets that support batching. The requests in the batch are clear after execute Invoke-PnPBatch, unless you specify -RetainRequests. That allows you to execute batch multiple times.", "prefix": [ "New-PnPBatch" + ], + "description": "Creates a new batch to be used by cmdlets that support batching. The requests in the batch are clear after execute Invoke-PnPBatch, unless you specify -RetainRequests. That allows you to execute batch multiple times.", + "body": [ + "New-PnPBatch " ] }, "New-PnPExtensibilityHandlerObject": { - "body": [ - "New-PnPExtensibilityHandlerObject " - ], - "description": "Allows to create an ExtensibilityHandler.", "prefix": [ "New-PnPExtensibilityHandlerObject" + ], + "description": "Allows to create an ExtensibilityHandler.", + "body": [ + "New-PnPExtensibilityHandlerObject " ] }, "New-PnPGraphSubscription": { - "body": [ - "New-PnPGraphSubscription -ChangeType $1 -NotificationUrl $2 -Resource $3" + "prefix": [ + "New-PnPGraphSubscription" ], "description": [ "Creates a new Microsoft Graph Subscription. The required Azure Active Directory application permission depends on the resource creating the subscription for, see https://learn.microsoft.com/graph/api/subscription-post-subscriptions#permissions. For a sample ASP.NET WebApi webhook implementation to receive the notifications from Microsoft Graph, see https://github.com/microsoftgraph/msgraph-training-changenotifications/blob/b8d21ca7aa5feeece336287c9a781e71b7ba01c6/demos/01-create-application/Controllers/NotificationsController.cs#L51.", "https://learn.microsoft.com/graph/api/subscription-post-subscriptions#permissions", "https://github.com/microsoftgraph/msgraph-training-changenotifications/blob/b8d21ca7aa5feeece336287c9a781e71b7ba01c6/demos/01-create-application/Controllers/NotificationsController.cs#L51" ], - "prefix": [ - "New-PnPGraphSubscription" + "body": [ + "New-PnPGraphSubscription -ChangeType $1 -NotificationUrl $2 -Resource $3" ] }, "New-PnPGroup": { - "body": [ - "New-PnPGroup -Title $1" - ], - "description": "This command creates a SharePoint group in the current Site Collection connected to.", "prefix": [ "New-PnPGroup" + ], + "description": "This command creates a SharePoint group in the current Site Collection connected to.", + "body": [ + "New-PnPGroup -Title $1" ] }, "New-PnPList": { - "body": [ - "New-PnPList -Title $1 -Template $2" - ], - "description": "Allows to create a new list.", "prefix": [ "New-PnPList" + ], + "description": "Allows to create a new list.", + "body": [ + "New-PnPList -Title $1 -Template $2" ] }, "New-PnPMicrosoft365Group": { - "body": [ - "New-PnPMicrosoft365Group -DisplayName $1 -Description $2 -MailNickname $3" - ], - "description": "Allows to create a new Microsoft 365 Group. It can have an assigned membership or a dynamically defined membership.", "prefix": [ "New-PnPMicrosoft365Group" + ], + "description": "Allows to create a new Microsoft 365 Group. It can have an assigned membership or a dynamically defined membership.", + "body": [ + "New-PnPMicrosoft365Group -DisplayName $1 -Description $2 -MailNickname $3" ] }, "New-PnPMicrosoft365GroupSettings": { - "body": [ - "New-PnPMicrosoft365GroupSettings -Identity $1 -DisplayName $2 -TemplateId $3 -Values $4" - ], - "description": "Allows to create a new Microsoft 365 Group setting for a specific group or the tenant.", "prefix": [ "New-PnPMicrosoft365GroupSettings" + ], + "description": "Allows to create a new Microsoft 365 Group setting for a specific group or the tenant.", + "body": [ + "New-PnPMicrosoft365GroupSettings -Identity $1 -DisplayName $2 -TemplateId $3 -Values $4" ] }, "New-PnPPersonalSite": { - "body": [ - "New-PnPPersonalSite " + "prefix": [ + "New-PnPPersonalSite" ], "description": [ "Creates a OneDrive For Business site for the provided user(s)", @@ -3929,298 +3929,298 @@ "Connect-PnPOnline -Url https://tenant-admin.sharepoint.com -UseWebLogin", "Connect-PnPOnline -Url https://tenant-admin.sharepoint.com -UseWebLogin" ], - "prefix": [ - "New-PnPPersonalSite" + "body": [ + "New-PnPPersonalSite " ] }, "New-PnPPlannerPlan": { - "body": [ - "New-PnPPlannerPlan -Group $1 -Title $2" - ], - "description": "This cmdlet creates a new Planner plan.", "prefix": [ "New-PnPPlannerPlan" + ], + "description": "This cmdlet creates a new Planner plan.", + "body": [ + "New-PnPPlannerPlan -Group $1 -Title $2" ] }, "New-PnPSdnProvider": { - "body": [ - "New-PnPSdnProvider -Identity $1 -License $2" - ], - "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.", "prefix": [ "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": [ + "New-PnPSdnProvider -Identity $1 -License $2" ] }, "New-PnPSite": { - "body": [ - "New-PnPSite -Type $1 -Title $2 -Alias $3" - ], - "description": "The New-PnPSite cmdlet creates a new site collection for the current tenant. Currently only 'modern' sites like Communication Site , Modern Microsoft 365 group-connected team sites and Modern Team sites not connected to M365 groups are supported. If you want to create a classic site, use New-PnPTenantSite. Note that the -Type parameter is mandatory to be used to indicate which type of site you would like to create. Based on the type of site you specify, you will be able to provide the additional arguments that are valid for that site type, so it is recommended to provide this as the first argument.", "prefix": [ "New-PnPSite" + ], + "description": "The New-PnPSite cmdlet creates a new site collection for the current tenant. Currently only 'modern' sites like Communication Site , Modern Microsoft 365 group-connected team sites and Modern Team sites not connected to M365 groups are supported. If you want to create a classic site, use New-PnPTenantSite. Note that the -Type parameter is mandatory to be used to indicate which type of site you would like to create. Based on the type of site you specify, you will be able to provide the additional arguments that are valid for that site type, so it is recommended to provide this as the first argument.", + "body": [ + "New-PnPSite -Type $1 -Title $2 -Alias $3" ] }, "New-PnPSiteCollectionTermStore": { - "body": [ - "New-PnPSiteCollectionTermStore " - ], - "description": "The site collection scoped term store will be created if it does not exist yet. If it does already exist for the currently connected to site collection, it will return the existing instance.", "prefix": [ "New-PnPSiteCollectionTermStore" + ], + "description": "The site collection scoped term store will be created if it does not exist yet. If it does already exist for the currently connected to site collection, it will return the existing instance.", + "body": [ + "New-PnPSiteCollectionTermStore " ] }, "New-PnPSiteGroup": { - "body": [ - "New-PnPSiteGroup -Name $1 -PermissionLevels $2" - ], - "description": "A SharePoint group is a set of individual users. SharePoint groups enable you to manage sets of users instead of individual users.", "prefix": [ "New-PnPSiteGroup" + ], + "description": "A SharePoint group is a set of individual users. SharePoint groups enable you to manage sets of users instead of individual users.", + "body": [ + "New-PnPSiteGroup -Name $1 -PermissionLevels $2" ] }, "New-PnPSiteTemplate": { - "body": [ - "New-PnPSiteTemplate " - ], - "description": "Allows to create a new provisioning site template.", "prefix": [ "New-PnPSiteTemplate" + ], + "description": "Allows to create a new provisioning site template.", + "body": [ + "New-PnPSiteTemplate " ] }, "New-PnPSiteTemplateFromFolder": { - "body": [ - "New-PnPSiteTemplateFromFolder " - ], - "description": "Allows to create a new provisioning site template based on a given folder, including files present in it.", "prefix": [ "New-PnPSiteTemplateFromFolder" + ], + "description": "Allows to create a new provisioning site template based on a given folder, including files present in it.", + "body": [ + "New-PnPSiteTemplateFromFolder " ] }, "New-PnPTeamsApp": { - "body": [ - "New-PnPTeamsApp -Path $1" - ], - "description": "Allows to add an app to the Teams App Catalog.", "prefix": [ "New-PnPTeamsApp" + ], + "description": "Allows to add an app to the Teams App Catalog.", + "body": [ + "New-PnPTeamsApp -Path $1" ] }, "New-PnPTeamsTeam": { - "body": [ - "New-PnPTeamsTeam -GroupId $1" - ], - "description": "Allows to create new team in Microsoft Teams or to teamify an existing Microsoft 365 Group. If the Microsoft 365 Group does not exist yet, it will create it first and then add a Microsoft Teams team to the group.", "prefix": [ "New-PnPTeamsTeam" + ], + "description": "Allows to create new team in Microsoft Teams or to teamify an existing Microsoft 365 Group. If the Microsoft 365 Group does not exist yet, it will create it first and then add a Microsoft Teams team to the group.", + "body": [ + "New-PnPTeamsTeam -GroupId $1" ] }, "New-PnPTenantSequence": { - "body": [ - "New-PnPTenantSequence " - ], - "description": "Allows to create a new tenant sequence object.", "prefix": [ "New-PnPTenantSequence" + ], + "description": "Allows to create a new tenant sequence object.", + "body": [ + "New-PnPTenantSequence " ] }, "New-PnPTenantSequenceCommunicationSite": { - "body": [ - "New-PnPTenantSequenceCommunicationSite -Url $1 -Title $2" - ], - "description": "Allows to create a new communication site object.", "prefix": [ "New-PnPTenantSequenceCommunicationSite" + ], + "description": "Allows to create a new communication site object.", + "body": [ + "New-PnPTenantSequenceCommunicationSite -Url $1 -Title $2" ] }, "New-PnPTenantSequenceTeamNoGroupSite": { - "body": [ - "New-PnPTenantSequenceTeamNoGroupSite -Url $1 -Title $2 -TimeZoneId $3" - ], - "description": "Allows to create a new site without a Microsoft 365 group in-memory object.", "prefix": [ "New-PnPTenantSequenceTeamNoGroupSite" + ], + "description": "Allows to create a new site without a Microsoft 365 group in-memory object.", + "body": [ + "New-PnPTenantSequenceTeamNoGroupSite -Url $1 -Title $2 -TimeZoneId $3" ] }, "New-PnPTenantSequenceTeamNoGroupSubSite": { - "body": [ - "New-PnPTenantSequenceTeamNoGroupSubSite -Url $1 -Title $2 -TimeZoneId $3" - ], - "description": "Allows to create a new team site subsite with no Microsoft 365 group object.", "prefix": [ "New-PnPTenantSequenceTeamNoGroupSubSite" + ], + "description": "Allows to create a new team site subsite with no Microsoft 365 group object.", + "body": [ + "New-PnPTenantSequenceTeamNoGroupSubSite -Url $1 -Title $2 -TimeZoneId $3" ] }, "New-PnPTenantSequenceTeamSite": { - "body": [ - "New-PnPTenantSequenceTeamSite -Alias $1 -Title $2" - ], - "description": "Allows to create a new team site object.", "prefix": [ "New-PnPTenantSequenceTeamSite" + ], + "description": "Allows to create a new team site object.", + "body": [ + "New-PnPTenantSequenceTeamSite -Alias $1 -Title $2" ] }, "New-PnPTenantSite": { - "body": [ - "New-PnPTenantSite -Title $1 -Url $2 -Owner $3" - ], - "description": "The New-PnPTenantSite cmdlet creates a new site collection for the current company. However, creating a new SharePoint Online site collection fails if a deleted site with the same URL exists in the Recycle Bin", "prefix": [ "New-PnPTenantSite" + ], + "description": "The New-PnPTenantSite cmdlet creates a new site collection for the current company. However, creating a new SharePoint Online site collection fails if a deleted site with the same URL exists in the Recycle Bin", + "body": [ + "New-PnPTenantSite -Title $1 -Url $2 -Owner $3" ] }, "New-PnPTenantTemplate": { - "body": [ - "New-PnPTenantTemplate " - ], - "description": "Allows to create a new tenant template object.", "prefix": [ "New-PnPTenantTemplate" + ], + "description": "Allows to create a new tenant template object.", + "body": [ + "New-PnPTenantTemplate " ] }, "New-PnPTerm": { - "body": [ - "New-PnPTerm -Name $1" - ], - "description": "This cmdlet adds a new taxonomy term to a given termset.", "prefix": [ "New-PnPTerm" + ], + "description": "This cmdlet adds a new taxonomy term to a given termset.", + "body": [ + "New-PnPTerm -Name $1" ] }, "New-PnPTermGroup": { - "body": [ - "New-PnPTermGroup -Name $1" - ], - "description": "Allows to create a taxonomy term group.", "prefix": [ "New-PnPTermGroup" + ], + "description": "Allows to create a taxonomy term group.", + "body": [ + "New-PnPTermGroup -Name $1" ] }, "New-PnPTermLabel": { - "body": [ - "New-PnPTermLabel -Term $1 -Name $2 -Lcid $3" - ], - "description": "Creates a localized label for a taxonomy term. Use Get-PnPTerm -Include Labels to request the current labels on a taxonomy term.", "prefix": [ "New-PnPTermLabel" + ], + "description": "Creates a localized label for a taxonomy term. Use Get-PnPTerm -Include Labels to request the current labels on a taxonomy term.", + "body": [ + "New-PnPTermLabel -Term $1 -Name $2 -Lcid $3" ] }, "New-PnPTermSet": { - "body": [ - "New-PnPTermSet -Name $1" - ], - "description": "Allows to create a taxonomy term set.", "prefix": [ "New-PnPTermSet" + ], + "description": "Allows to create a taxonomy term set.", + "body": [ + "New-PnPTermSet -Name $1" ] }, "New-PnPUPABulkImportJob": { - "body": [ - "New-PnPUPABulkImportJob " + "prefix": [ + "New-PnPUPABulkImportJob" ], "description": [ "See https://learn.microsoft.com/sharepoint/dev/solution-guidance/bulk-user-profile-update-api-for-sharepoint-online for information on the API and how the bulk import process works.", "https://learn.microsoft.com/sharepoint/dev/solution-guidance/bulk-user-profile-update-api-for-sharepoint-online" ], - "prefix": [ - "New-PnPUPABulkImportJob" + "body": [ + "New-PnPUPABulkImportJob " ] }, "New-PnPUser": { - "body": [ - "New-PnPUser -LoginName $1" - ], - "description": "Allows to add a user to current site.", "prefix": [ "New-PnPUser" + ], + "description": "Allows to add a user to current site.", + "body": [ + "New-PnPUser -LoginName $1" ] }, "New-PnPWeb": { - "body": [ - "New-PnPWeb -Title $1 -Url $2" - ], - "description": "Allows to create new subweb under the current web.", "prefix": [ "New-PnPWeb" + ], + "description": "Allows to create new subweb under the current web.", + "body": [ + "New-PnPWeb -Title $1 -Url $2" ] }, "Publish-PnPApp": { - "body": [ - "Publish-PnPApp " - ], - "description": "Allows to deploy/trust an available app in the app catalog.", "prefix": [ "Publish-PnPApp" + ], + "description": "Allows to deploy/trust an available app in the app catalog.", + "body": [ + "Publish-PnPApp " ] }, "Publish-PnPCompanyApp": { - "body": [ - "Publish-PnPCompanyApp -PortalUrl $1 -AppName $2" - ], - "description": "This cmdlet publishes a new company app (Microsoft Viva Connections) to Microsoft Teams. It will create a new package (zip file) in the current folder named after the CompanyApp value specified. E.g. if the name is 'Contoso Portal', the package will be called \"Contoso Portal.zip\". This package will be uploaded to the Teams App Catalog. If you do not want to upload the package automatically, e.g. prepare a package ahead of time, specify '-NoUpload'.", "prefix": [ "Publish-PnPCompanyApp" + ], + "description": "This cmdlet publishes a new company app (Microsoft Viva Connections) to Microsoft Teams. It will create a new package (zip file) in the current folder named after the CompanyApp value specified. E.g. if the name is 'Contoso Portal', the package will be called \"Contoso Portal.zip\". This package will be uploaded to the Teams App Catalog. If you do not want to upload the package automatically, e.g. prepare a package ahead of time, specify '-NoUpload'.", + "body": [ + "Publish-PnPCompanyApp -PortalUrl $1 -AppName $2" ] }, "Publish-PnPContentType": { - "body": [ - "Publish-PnPContentType -ContentType $1" + "prefix": [ + "Publish-PnPContentType" ], "description": [ "Allows to publish a content type present on content type hub site. To check if a content type has been published already, you can use Get-PnPContentTypePublishingStatus.", "Get-PnPContentTypePublishingStatus" ], - "prefix": [ - "Publish-PnPContentType" + "body": [ + "Publish-PnPContentType -ContentType $1" ] }, "Publish-PnPSyntexModel": { - "body": [ - "Publish-PnPSyntexModel -Model $1 -ListWebUrl $2 -List $3" - ], - "description": "This command publishes Syntex document processing models to a list.", "prefix": [ "Publish-PnPSyntexModel" + ], + "description": "This command publishes Syntex document processing models to a list.", + "body": [ + "Publish-PnPSyntexModel -Model $1 -ListWebUrl $2 -List $3" ] }, "Read-PnPSiteTemplate": { - "body": [ - "Read-PnPSiteTemplate " - ], - "description": "This cmdlet allows you to read a PnP Provisioning Template from disk, by passing in XML as text or from a stream to keep it in memory and not needing to physically save the template anywhere. The template can be modified in memory if needed and then applied to a site.", "prefix": [ "Read-PnPSiteTemplate" + ], + "description": "This cmdlet allows you to read a PnP Provisioning Template from disk, by passing in XML as text or from a stream to keep it in memory and not needing to physically save the template anywhere. The template can be modified in memory if needed and then applied to a site.", + "body": [ + "Read-PnPSiteTemplate " ] }, "Read-PnPTenantTemplate": { - "body": [ - "Read-PnPTenantTemplate -Path $1" - ], - "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" + ], + "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.", + "body": [ + "Read-PnPTenantTemplate -Path $1" ] }, "Receive-PnPCopyMoveJobStatus": { - "body": [ - "Receive-PnPCopyMoveJobStatus -Job $1" - ], - "description": "This cmdlets outputs the results of a pending/finished copy or move job.", "prefix": [ "Receive-PnPCopyMoveJobStatus" + ], + "description": "This cmdlets outputs the results of a pending/finished copy or move job.", + "body": [ + "Receive-PnPCopyMoveJobStatus -Job $1" ] }, "Register-PnPAppCatalogSite": { - "body": [ - "Register-PnPAppCatalogSite -Url $1 -Owner $2 -TimeZoneId $3" - ], - "description": "Allows to create a new App Catalog Site and sets this site as the Tenant App Catalog.", "prefix": [ "Register-PnPAppCatalogSite" + ], + "description": "Allows to create a new App Catalog Site and sets this site as the Tenant App Catalog.", + "body": [ + "Register-PnPAppCatalogSite -Url $1 -Owner $2 -TimeZoneId $3" ] }, "Register-PnPAzureADApp": { - "body": [ - "Register-PnPAzureADApp -ApplicationName $1 -Tenant $2" + "prefix": [ + "Register-PnPAzureADApp" ], "description": [ "Registers an Azure AD App and optionally creates a new self-signed certificate to use with the application registration. You can login either with username/password or you can use the -DeviceLogin option if your tenant has been configured for Multi-Factor Authentication.", @@ -4231,983 +4231,983 @@ "allowPublicClient", "true" ], - "prefix": [ - "Register-PnPAzureADApp" + "body": [ + "Register-PnPAzureADApp -ApplicationName $1 -Tenant $2" ] }, "Register-PnPHubSite": { - "body": [ - "Register-PnPHubSite -Site $1" - ], - "description": "Registers a site as a hub site.", "prefix": [ "Register-PnPHubSite" + ], + "description": "Registers a site as a hub site.", + "body": [ + "Register-PnPHubSite -Site $1" ] }, "Register-PnPManagementShellAccess": { - "body": [ - "Register-PnPManagementShellAccess " - ], - "description": "This cmdlet grants access to the tenant for the PnP Management Shell Multi-Tenant Azure AD Application which simplifies the use of OAuth based access for PnP PowerShell when using credentials to authenticate. If you are not an administrator that can consent Azure AD Applications, use the -ShowConsentUrl option. It will ask you to log in and provides you with an URL you can share with a person with appropriate access rights to provide consent for the organization.", "prefix": [ "Register-PnPManagementShellAccess" + ], + "description": "This cmdlet grants access to the tenant for the PnP Management Shell Multi-Tenant Azure AD Application which simplifies the use of OAuth based access for PnP PowerShell when using credentials to authenticate. If you are not an administrator that can consent Azure AD Applications, use the -ShowConsentUrl option. It will ask you to log in and provides you with an URL you can share with a person with appropriate access rights to provide consent for the organization.", + "body": [ + "Register-PnPManagementShellAccess " ] }, "Remove-PnPAdaptiveScopeProperty": { - "body": [ - "Remove-PnPAdaptiveScopeProperty " + "prefix": [ + "Remove-PnPAdaptiveScopeProperty" ], "description": [ "This cmdlet is used to remove a property bag value. Executing this cmdlet removes a value from the current web property bag just like Remove-PnPPropertyBagValue would do, but also takes care of toggling the noscript value to allow for this to be possible in one cmdlet. Using this cmdlet does therefore require having the SharePoint Online Admin role or equivalent app permissions.", "Remove-PnPPropertyBagValue" ], - "prefix": [ - "Remove-PnPAdaptiveScopeProperty" + "body": [ + "Remove-PnPAdaptiveScopeProperty " ] }, "Remove-PnPAlert": { - "body": [ - "Remove-PnPAlert " - ], - "description": "Allows to remove an alert for a user.", "prefix": [ "Remove-PnPAlert" + ], + "description": "Allows to remove an alert for a user.", + "body": [ + "Remove-PnPAlert " ] }, "Remove-PnPApp": { - "body": [ - "Remove-PnPApp " - ], - "description": "Allows to remove an app from the app catalog.", "prefix": [ "Remove-PnPApp" + ], + "description": "Allows to remove an app from the app catalog.", + "body": [ + "Remove-PnPApp " ] }, "Remove-PnPApplicationCustomizer": { - "body": [ - "Remove-PnPApplicationCustomizer " - ], - "description": "Removes a SharePoint Framework client side extension application customizer by removing a user custom action from a web or sitecollection.", "prefix": [ "Remove-PnPApplicationCustomizer" + ], + "description": "Removes a SharePoint Framework client side extension application customizer by removing a user custom action from a web or sitecollection.", + "body": [ + "Remove-PnPApplicationCustomizer " ] }, "Remove-PnPAvailableSiteClassification": { - "body": [ - "Remove-PnPAvailableSiteClassification -Classifications $1" - ], - "description": "Allows to remove existing classic site classification values.", "prefix": [ "Remove-PnPAvailableSiteClassification" + ], + "description": "Allows to remove existing classic site classification values.", + "body": [ + "Remove-PnPAvailableSiteClassification -Classifications $1" ] }, "Remove-PnPAzureADApp": { - "body": [ - "Remove-PnPAzureADApp " - ], - "description": "This cmdlet removes an Azure AD App registration.", "prefix": [ "Remove-PnPAzureADApp" + ], + "description": "This cmdlet removes an Azure AD App registration.", + "body": [ + "Remove-PnPAzureADApp " ] }, "Remove-PnPAzureADGroup": { - "body": [ - "Remove-PnPAzureADGroup -Identity $1" - ], - "description": "Allows to remove Azure Active Directory group.", "prefix": [ "Remove-PnPAzureADGroup" + ], + "description": "Allows to remove Azure Active Directory group.", + "body": [ + "Remove-PnPAzureADGroup -Identity $1" ] }, "Remove-PnPAzureADGroupMember": { - "body": [ - "Remove-PnPAzureADGroupMember -Identity $1 -Users $2" - ], - "description": "Allows to remove members from Azure Active Directory group.", "prefix": [ "Remove-PnPAzureADGroupMember" + ], + "description": "Allows to remove members from Azure Active Directory group.", + "body": [ + "Remove-PnPAzureADGroupMember -Identity $1 -Users $2" ] }, "Remove-PnPAzureADGroupOwner": { - "body": [ - "Remove-PnPAzureADGroupOwner -Identity $1 -Users $2" - ], - "description": "Allows to remove owners from Azure Active Directory group.", "prefix": [ "Remove-PnPAzureADGroupOwner" + ], + "description": "Allows to remove owners from Azure Active Directory group.", + "body": [ + "Remove-PnPAzureADGroupOwner -Identity $1 -Users $2" ] }, "Remove-PnPAzureADServicePrincipalAssignedAppRole": { - "body": [ - "Remove-PnPAzureADServicePrincipalAssignedAppRole -Identity $1" - ], - "description": "Allows removal of one or more assigned app roles on a specific service principals/app registration in Azure Active Directory.", "prefix": [ "Remove-PnPAzureADServicePrincipalAssignedAppRole" + ], + "description": "Allows removal of one or more assigned app roles on a specific service principals/app registration in Azure Active Directory.", + "body": [ + "Remove-PnPAzureADServicePrincipalAssignedAppRole -Identity $1" ] }, "Remove-PnPContainer": { - "body": [ - "Remove-PnPContainer " - ], - "description": "", "prefix": [ "Remove-PnPContainer" + ], + "description": "", + "body": [ + "Remove-PnPContainer " ] }, "Remove-PnPContentType": { - "body": [ - "Remove-PnPContentType " - ], - "description": "This cmdlet allows to remove a content type from the current web.", "prefix": [ "Remove-PnPContentType" + ], + "description": "This cmdlet allows to remove a content type from the current web.", + "body": [ + "Remove-PnPContentType " ] }, "Remove-PnPContentTypeFromDocumentSet": { - "body": [ - "Remove-PnPContentTypeFromDocumentSet -ContentType $1 -DocumentSet $2" - ], - "description": "This cmdlet allows to remove a content type from a document set.", "prefix": [ "Remove-PnPContentTypeFromDocumentSet" + ], + "description": "This cmdlet allows to remove a content type from a document set.", + "body": [ + "Remove-PnPContentTypeFromDocumentSet -ContentType $1 -DocumentSet $2" ] }, "Remove-PnPContentTypeFromList": { - "body": [ - "Remove-PnPContentTypeFromList -List $1 -ContentType $2" - ], - "description": "Allows to remove a content type from a list.", "prefix": [ "Remove-PnPContentTypeFromList" + ], + "description": "Allows to remove a content type from a list.", + "body": [ + "Remove-PnPContentTypeFromList -List $1 -ContentType $2" ] }, "Remove-PnPCustomAction": { - "body": [ - "Remove-PnPCustomAction " - ], - "description": "Allows to remove a custom action.", "prefix": [ "Remove-PnPCustomAction" + ], + "description": "Allows to remove a custom action.", + "body": [ + "Remove-PnPCustomAction " ] }, "Remove-PnPDeletedMicrosoft365Group": { - "body": [ - "Remove-PnPDeletedMicrosoft365Group -Identity $1" - ], - "description": "Allows to permanently remove a deleted Microsoft 365 Group.", "prefix": [ "Remove-PnPDeletedMicrosoft365Group" + ], + "description": "Allows to permanently remove a deleted Microsoft 365 Group.", + "body": [ + "Remove-PnPDeletedMicrosoft365Group -Identity $1" ] }, "Remove-PnPEventReceiver": { - "body": [ - "Remove-PnPEventReceiver -Identity $1" - ], - "description": "Removes/unregister a specific event receiver.", "prefix": [ "Remove-PnPEventReceiver" + ], + "description": "Removes/unregister a specific event receiver.", + "body": [ + "Remove-PnPEventReceiver -Identity $1" ] }, "Remove-PnPExternalUser": { - "body": [ - "Remove-PnPExternalUser -UniqueIDs $1" + "prefix": [ + "Remove-PnPExternalUser" ], "description": [ "The Remove-PnPExternalUser cmdlet permanently removes a collection of external users from the tenant.", "Users who are removed lose access to all tenant resources." ], - "prefix": [ - "Remove-PnPExternalUser" + "body": [ + "Remove-PnPExternalUser -UniqueIDs $1" ] }, "Remove-PnPField": { - "body": [ - "Remove-PnPField " - ], - "description": "Allows to remove a field from a list or a site.", "prefix": [ "Remove-PnPField" + ], + "description": "Allows to remove a field from a list or a site.", + "body": [ + "Remove-PnPField " ] }, "Remove-PnPFieldFromContentType": { - "body": [ - "Remove-PnPFieldFromContentType -Field $1 -ContentType $2" - ], - "description": "Allows to remove a field from a content type.", "prefix": [ "Remove-PnPFieldFromContentType" + ], + "description": "Allows to remove a field from a content type.", + "body": [ + "Remove-PnPFieldFromContentType -Field $1 -ContentType $2" ] }, "Remove-PnPFile": { - "body": [ - "Remove-PnPFile " - ], - "description": "This cmdlet removes the specified file based on the site-relative or server-relative url.", "prefix": [ "Remove-PnPFile" + ], + "description": "This cmdlet removes the specified file based on the site-relative or server-relative url.", + "body": [ + "Remove-PnPFile " ] }, "Remove-PnPFileFromSiteTemplate": { - "body": [ - "Remove-PnPFileFromSiteTemplate " - ], - "description": "Allows to remove a file from a PnP Provisioning Template.", "prefix": [ "Remove-PnPFileFromSiteTemplate" + ], + "description": "Allows to remove a file from a PnP Provisioning Template.", + "body": [ + "Remove-PnPFileFromSiteTemplate " ] }, "Remove-PnPFileSharingLink": { - "body": [ - "Remove-PnPFileSharingLink -FileUrl $1 -Identity $2 -Force $3" - ], - "description": "Removes sharing links associated with a file.", "prefix": [ "Remove-PnPFileSharingLink" + ], + "description": "Removes sharing links associated with a file.", + "body": [ + "Remove-PnPFileSharingLink -FileUrl $1 -Identity $2 -Force $3" ] }, "Remove-PnPFileVersion": { - "body": [ - "Remove-PnPFileVersion -Url $1" - ], - "description": "This cmdlet removes all versions or one specific version for the specified file.", "prefix": [ "Remove-PnPFileVersion" + ], + "description": "This cmdlet removes all versions or one specific version for the specified file.", + "body": [ + "Remove-PnPFileVersion -Url $1" ] }, "Remove-PnPFlow": { - "body": [ - "Remove-PnPFlow -Environment $1 -Identity $2" - ], - "description": "This cmdlet removes the specified flow.", "prefix": [ "Remove-PnPFlow" + ], + "description": "This cmdlet removes the specified flow.", + "body": [ + "Remove-PnPFlow -Environment $1 -Identity $2" ] }, "Remove-PnPFlowOwner": { - "body": [ - "Remove-PnPFlowOwner -Environment $1 -Identity $2 -User $3" - ], - "description": "This cmdlet removes owner permissions for a user from a Power Automate flow.", "prefix": [ "Remove-PnPFlowOwner" + ], + "description": "This cmdlet removes owner permissions for a user from a Power Automate flow.", + "body": [ + "Remove-PnPFlowOwner -Environment $1 -Identity $2 -User $3" ] }, "Remove-PnPFolder": { - "body": [ - "Remove-PnPFolder -Name $1 -Folder $2" - ], - "description": "Allows to remove a folder.", "prefix": [ "Remove-PnPFolder" + ], + "description": "Allows to remove a folder.", + "body": [ + "Remove-PnPFolder -Name $1 -Folder $2" ] }, "Remove-PnPFolderSharingLink": { - "body": [ - "Remove-PnPFolderSharingLink -Folder $1 -Identity $2 -Force $3" - ], - "description": "Removes sharing links associated with a folder.", "prefix": [ "Remove-PnPFolderSharingLink" + ], + "description": "Removes sharing links associated with a folder.", + "body": [ + "Remove-PnPFolderSharingLink -Folder $1 -Identity $2 -Force $3" ] }, "Remove-PnPGraphSubscription": { - "body": [ - "Remove-PnPGraphSubscription -Identity $1" - ], - "description": "Allows to remove an existing Microsoft Graph subscription.", "prefix": [ "Remove-PnPGraphSubscription" + ], + "description": "Allows to remove an existing Microsoft Graph subscription.", + "body": [ + "Remove-PnPGraphSubscription -Identity $1" ] }, "Remove-PnPGroup": { - "body": [ - "Remove-PnPGroup " - ], - "description": "Allows to remove a group from web.", "prefix": [ "Remove-PnPGroup" + ], + "description": "Allows to remove a group from web.", + "body": [ + "Remove-PnPGroup " ] }, "Remove-PnPGroupMember": { - "body": [ - "Remove-PnPGroupMember -LoginName $1 -Group $2" - ], - "description": "Allows to remove a user from group.", "prefix": [ "Remove-PnPGroupMember" + ], + "description": "Allows to remove a user from group.", + "body": [ + "Remove-PnPGroupMember -LoginName $1 -Group $2" ] }, "Remove-PnPHomeSite": { - "body": [ - "Remove-PnPHomeSite " - ], - "description": "Allows to remove a site which currently is set as home site.", "prefix": [ "Remove-PnPHomeSite" + ], + "description": "Allows to remove a site which currently is set as home site.", + "body": [ + "Remove-PnPHomeSite " ] }, "Remove-PnPHubSiteAssociation": { - "body": [ - "Remove-PnPHubSiteAssociation -Site $1" - ], - "description": "Allows to remove a hub site association from a site.", "prefix": [ "Remove-PnPHubSiteAssociation" + ], + "description": "Allows to remove a hub site association from a site.", + "body": [ + "Remove-PnPHubSiteAssociation -Site $1" ] }, "Remove-PnPHubToHubAssociation": { - "body": [ - "Remove-PnPHubToHubAssociation -HubSiteId $1" - ], - "description": "Use this cmdlet to remove the selected hub site from its parent hub.", "prefix": [ "Remove-PnPHubToHubAssociation" + ], + "description": "Use this cmdlet to remove the selected hub site from its parent hub.", + "body": [ + "Remove-PnPHubToHubAssociation -HubSiteId $1" ] }, "Remove-PnPIndexedProperty": { - "body": [ - "Remove-PnPIndexedProperty " - ], - "description": "Allows to remove indexed property from the current web.", "prefix": [ "Remove-PnPIndexedProperty" + ], + "description": "Allows to remove indexed property from the current web.", + "body": [ + "Remove-PnPIndexedProperty " ] }, "Remove-PnPJavaScriptLink": { - "body": [ - "Remove-PnPJavaScriptLink " - ], - "description": "Allows to remove JavaScript link or block from a web or sitecollection.", "prefix": [ "Remove-PnPJavaScriptLink" + ], + "description": "Allows to remove JavaScript link or block from a web or sitecollection.", + "body": [ + "Remove-PnPJavaScriptLink " ] }, "Remove-PnPKnowledgeHubSite": { - "body": [ - "Remove-PnPKnowledgeHubSite " - ], - "description": "Allows to remove Knowledge Hub Site setting for your tenant.", "prefix": [ "Remove-PnPKnowledgeHubSite" + ], + "description": "Allows to remove Knowledge Hub Site setting for your tenant.", + "body": [ + "Remove-PnPKnowledgeHubSite " ] }, "Remove-PnPList": { - "body": [ - "Remove-PnPList " - ], - "description": "Allows to remove a list.", "prefix": [ "Remove-PnPList" + ], + "description": "Allows to remove a list.", + "body": [ + "Remove-PnPList " ] }, "Remove-PnPListDesign": { - "body": [ - "Remove-PnPListDesign -Identity $1" - ], - "description": "Allows to remove a list design.", "prefix": [ "Remove-PnPListDesign" + ], + "description": "Allows to remove a list design.", + "body": [ + "Remove-PnPListDesign -Identity $1" ] }, "Remove-PnPListItem": { - "body": [ - "Remove-PnPListItem " - ], - "description": "Allows to remove a list item.", "prefix": [ "Remove-PnPListItem" + ], + "description": "Allows to remove a list item.", + "body": [ + "Remove-PnPListItem " ] }, "Remove-PnPListItemAttachment": { - "body": [ - "Remove-PnPListItemAttachment " - ], - "description": "This cmdlet removes one or all attachments from the specified list item in a SharePoint list.", "prefix": [ "Remove-PnPListItemAttachment" + ], + "description": "This cmdlet removes one or all attachments from the specified list item in a SharePoint list.", + "body": [ + "Remove-PnPListItemAttachment " ] }, "Remove-PnPListItemComment": { - "body": [ - "Remove-PnPListItemComment " - ], - "description": "Allows to remove comments from list item.", "prefix": [ "Remove-PnPListItemComment" + ], + "description": "Allows to remove comments from list item.", + "body": [ + "Remove-PnPListItemComment " ] }, "Remove-PnPListItemVersion": { - "body": [ - "Remove-PnPListItemVersion -List $1 -Identity $2 -Version $3" - ], - "description": "This cmdlet removes a specific list item version.", "prefix": [ "Remove-PnPListItemVersion" + ], + "description": "This cmdlet removes a specific list item version.", + "body": [ + "Remove-PnPListItemVersion -List $1 -Identity $2 -Version $3" ] }, "Remove-PnPMicrosoft365Group": { - "body": [ - "Remove-PnPMicrosoft365Group -Identity $1" - ], - "description": "Allows to remove Microsoft 365 Group.", "prefix": [ "Remove-PnPMicrosoft365Group" + ], + "description": "Allows to remove Microsoft 365 Group.", + "body": [ + "Remove-PnPMicrosoft365Group -Identity $1" ] }, "Remove-PnPMicrosoft365GroupMember": { - "body": [ - "Remove-PnPMicrosoft365GroupMember -Identity $1 -Users $2" - ], - "description": "Allows to remove members from a specified Microsoft 365 Group.", "prefix": [ "Remove-PnPMicrosoft365GroupMember" + ], + "description": "Allows to remove members from a specified Microsoft 365 Group.", + "body": [ + "Remove-PnPMicrosoft365GroupMember -Identity $1 -Users $2" ] }, "Remove-PnPMicrosoft365GroupOwner": { - "body": [ - "Remove-PnPMicrosoft365GroupOwner -Identity $1 -Users $2" - ], - "description": "Allows to remove owners from a specified Microsoft 365 Group.", "prefix": [ "Remove-PnPMicrosoft365GroupOwner" + ], + "description": "Allows to remove owners from a specified Microsoft 365 Group.", + "body": [ + "Remove-PnPMicrosoft365GroupOwner -Identity $1 -Users $2" ] }, "Remove-PnPMicrosoft365GroupPhoto": { - "body": [ - "Remove-PnPMicrosoft365GroupPhoto -Identity $1" - ], - "description": "Allows to remove profile photo from a specified Microsoft 365 Group.", "prefix": [ "Remove-PnPMicrosoft365GroupPhoto" + ], + "description": "Allows to remove profile photo from a specified Microsoft 365 Group.", + "body": [ + "Remove-PnPMicrosoft365GroupPhoto -Identity $1" ] }, "Remove-PnPMicrosoft365GroupSettings": { - "body": [ - "Remove-PnPMicrosoft365GroupSettings -Identity $1 -Group $2" - ], - "description": "Allows to remove Microsoft 365 Group settings from the tenant or the specified group.", "prefix": [ "Remove-PnPMicrosoft365GroupSettings" + ], + "description": "Allows to remove Microsoft 365 Group settings from the tenant or the specified group.", + "body": [ + "Remove-PnPMicrosoft365GroupSettings -Identity $1 -Group $2" ] }, "Remove-PnPNavigationNode": { - "body": [ - "Remove-PnPNavigationNode " - ], - "description": "Allows to remove menu item from either the quick launch or top navigation.", "prefix": [ "Remove-PnPNavigationNode" + ], + "description": "Allows to remove menu item from either the quick launch or top navigation.", + "body": [ + "Remove-PnPNavigationNode " ] }, "Remove-PnPOrgAssetsLibrary": { - "body": [ - "Remove-PnPOrgAssetsLibrary -LibraryUrl $1" - ], - "description": "Removes a given document library as an organizational asset source based on its server relative URL in your SharePoint Online tenant. It will not remove the document library itself. It may take some time before this change will be reflected in the web interface.", "prefix": [ "Remove-PnPOrgAssetsLibrary" + ], + "description": "Removes a given document library as an organizational asset source based on its server relative URL in your SharePoint Online tenant. It will not remove the document library itself. It may take some time before this change will be reflected in the web interface.", + "body": [ + "Remove-PnPOrgAssetsLibrary -LibraryUrl $1" ] }, "Remove-PnPOrgNewsSite": { - "body": [ - "Remove-PnPOrgNewsSite -OrgNewsSiteUrl $1" - ], - "description": "Removes a given site from the list of organizational news sites based on its URL in your SharePoint Online tenant.", "prefix": [ "Remove-PnPOrgNewsSite" + ], + "description": "Removes a given site from the list of organizational news sites based on its URL in your SharePoint Online tenant.", + "body": [ + "Remove-PnPOrgNewsSite -OrgNewsSiteUrl $1" ] }, "Remove-PnPPage": { - "body": [ - "Remove-PnPPage " - ], - "description": "Allows to remove a page.", "prefix": [ "Remove-PnPPage" + ], + "description": "Allows to remove a page.", + "body": [ + "Remove-PnPPage " ] }, "Remove-PnPPageComponent": { - "body": [ - "Remove-PnPPageComponent " - ], - "description": "This cmdlet removes specified page component from a page.", "prefix": [ "Remove-PnPPageComponent" + ], + "description": "This cmdlet removes specified page component from a page.", + "body": [ + "Remove-PnPPageComponent " ] }, "Remove-PnPPlannerBucket": { - "body": [ - "Remove-PnPPlannerBucket -Group $1 -Plan $2 -Identity $3" - ], - "description": "This cmdlet removes a Planner bucket.", "prefix": [ "Remove-PnPPlannerBucket" + ], + "description": "This cmdlet removes a Planner bucket.", + "body": [ + "Remove-PnPPlannerBucket -Group $1 -Plan $2 -Identity $3" ] }, "Remove-PnPPlannerPlan": { - "body": [ - "Remove-PnPPlannerPlan -Group $1 -Identity $2" - ], - "description": "This cmdlet removes a Planner plan.", "prefix": [ "Remove-PnPPlannerPlan" + ], + "description": "This cmdlet removes a Planner plan.", + "body": [ + "Remove-PnPPlannerPlan -Group $1 -Identity $2" ] }, "Remove-PnPPlannerRoster": { - "body": [ - "Remove-PnPPlannerRoster -Identity $1" - ], - "description": "Removes a Microsoft Planner Roster", "prefix": [ "Remove-PnPPlannerRoster" + ], + "description": "Removes a Microsoft Planner Roster", + "body": [ + "Remove-PnPPlannerRoster -Identity $1" ] }, "Remove-PnPPlannerRosterMember": { - "body": [ - "Remove-PnPPlannerRosterMember -Identity $1" - ], - "description": "Removes a member from a Microsoft Planner Roster.", "prefix": [ "Remove-PnPPlannerRosterMember" + ], + "description": "Removes a member from a Microsoft Planner Roster.", + "body": [ + "Remove-PnPPlannerRosterMember -Identity $1" ] }, "Remove-PnPPlannerTask": { - "body": [ - "Remove-PnPPlannerTask -Task $1" - ], - "description": "This cmdlet removes a specific Planner task.", "prefix": [ "Remove-PnPPlannerTask" + ], + "description": "This cmdlet removes a specific Planner task.", + "body": [ + "Remove-PnPPlannerTask -Task $1" ] }, "Remove-PnPPropertyBagValue": { - "body": [ - "Remove-PnPPropertyBagValue " + "prefix": [ + "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.", "Set-PnPTenantSite -Url -NoScriptSite:$false" ], - "prefix": [ - "Remove-PnPPropertyBagValue" + "body": [ + "Remove-PnPPropertyBagValue " ] }, "Remove-PnPPublishingImageRendition": { - "body": [ - "Remove-PnPPublishingImageRendition " - ], - "description": "Allows to remove an existing image rendition.", "prefix": [ "Remove-PnPPublishingImageRendition" + ], + "description": "Allows to remove an existing image rendition.", + "body": [ + "Remove-PnPPublishingImageRendition " ] }, "Remove-PnPRoleDefinition": { - "body": [ - "Remove-PnPRoleDefinition " - ], - "description": "This cmdlet removes the specified role definition from a site collection.", "prefix": [ "Remove-PnPRoleDefinition" + ], + "description": "This cmdlet removes the specified role definition from a site collection.", + "body": [ + "Remove-PnPRoleDefinition " ] }, "Remove-PnPSdnProvider": { - "body": [ - "Remove-PnPSdnProvider " - ], - "description": "Removes SDN Support in your SharePoint Online tenant.", "prefix": [ "Remove-PnPSdnProvider" + ], + "description": "Removes SDN Support in your SharePoint Online tenant.", + "body": [ + "Remove-PnPSdnProvider " ] }, "Remove-PnPSearchConfiguration": { - "body": [ - "Remove-PnPSearchConfiguration -Configuration $1" - ], - "description": "This cmdlet removes the search configuration from a single web, site collection or a tenant, using path or a configuration string.", "prefix": [ "Remove-PnPSearchConfiguration" + ], + "description": "This cmdlet removes the search configuration from a single web, site collection or a tenant, using path or a configuration string.", + "body": [ + "Remove-PnPSearchConfiguration -Configuration $1" ] }, "Remove-PnPSiteCollectionAdmin": { - "body": [ - "Remove-PnPSiteCollectionAdmin -Owners $1" - ], - "description": "This command allows removing one to many users as site collection administrators from the site collection in the current context. All existing site collection administrators not included in this command will remain site collection administrator.", "prefix": [ "Remove-PnPSiteCollectionAdmin" + ], + "description": "This command allows removing one to many users as site collection administrators from the site collection in the current context. All existing site collection administrators not included in this command will remain site collection administrator.", + "body": [ + "Remove-PnPSiteCollectionAdmin -Owners $1" ] }, "Remove-PnPSiteCollectionAppCatalog": { - "body": [ - "Remove-PnPSiteCollectionAppCatalog -Site $1" - ], - "description": "Notice that this will not remove the App Catalog list and its contents from the site.", "prefix": [ "Remove-PnPSiteCollectionAppCatalog" + ], + "description": "Notice that this will not remove the App Catalog list and its contents from the site.", + "body": [ + "Remove-PnPSiteCollectionAppCatalog -Site $1" ] }, "Remove-PnPSiteCollectionTermStore": { - "body": [ - "Remove-PnPSiteCollectionTermStore " - ], - "description": "Removes the site collection scoped term store for the currently connected site collection. If it does not exist yet, it will not do anything.", "prefix": [ "Remove-PnPSiteCollectionTermStore" + ], + "description": "Removes the site collection scoped term store for the currently connected site collection. If it does not exist yet, it will not do anything.", + "body": [ + "Remove-PnPSiteCollectionTermStore " ] }, "Remove-PnPSiteDesign": { - "body": [ - "Remove-PnPSiteDesign " - ], - "description": "This cmdlet removes the specified site design.", "prefix": [ "Remove-PnPSiteDesign" + ], + "description": "This cmdlet removes the specified site design.", + "body": [ + "Remove-PnPSiteDesign " ] }, "Remove-PnPSiteDesignTask": { - "body": [ - "Remove-PnPSiteDesignTask " - ], - "description": "This cmdlet removes a site design task. If the execution of the associated site script has already started, the execution will not be terminated.", "prefix": [ "Remove-PnPSiteDesignTask" + ], + "description": "This cmdlet removes a site design task. If the execution of the associated site script has already started, the execution will not be terminated.", + "body": [ + "Remove-PnPSiteDesignTask " ] }, "Remove-PnPSiteGroup": { - "body": [ - "Remove-PnPSiteGroup -Identity $1" - ], - "description": "Allows to remove a group from specified site.", "prefix": [ "Remove-PnPSiteGroup" + ], + "description": "Allows to remove a group from specified site.", + "body": [ + "Remove-PnPSiteGroup -Identity $1" ] }, "Remove-PnPSiteScript": { - "body": [ - "Remove-PnPSiteScript " - ], - "description": "This cmdlet removes specified site script.", "prefix": [ "Remove-PnPSiteScript" + ], + "description": "This cmdlet removes specified site script.", + "body": [ + "Remove-PnPSiteScript " ] }, "Remove-PnPSiteUserInvitations": { - "body": [ - "Remove-PnPSiteUserInvitations " - ], - "description": "Searches against all stored sharing links on a Site and removes an email invites. If the site parameter is omitted the current site will be searched.", "prefix": [ "Remove-PnPSiteUserInvitations" + ], + "description": "Searches against all stored sharing links on a Site and removes an email invites. If the site parameter is omitted the current site will be searched.", + "body": [ + "Remove-PnPSiteUserInvitations " ] }, "Remove-PnPStorageEntity": { - "body": [ - "Remove-PnPStorageEntity -Key $1" - ], - "description": "Allows to remove Storage Entities / Farm Properties from either the tenant scoped app catalog or the current site collection app catalog.", "prefix": [ "Remove-PnPStorageEntity" + ], + "description": "Allows to remove Storage Entities / Farm Properties from either the tenant scoped app catalog or the current site collection app catalog.", + "body": [ + "Remove-PnPStorageEntity -Key $1" ] }, "Remove-PnPStoredCredential": { - "body": [ - "Remove-PnPStoredCredential -Name $1" - ], - "description": "Removes a stored credential from the Credential Manager", "prefix": [ "Remove-PnPStoredCredential" + ], + "description": "Removes a stored credential from the Credential Manager", + "body": [ + "Remove-PnPStoredCredential -Name $1" ] }, "Remove-PnPTaxonomyItem": { - "body": [ - "Remove-PnPTaxonomyItem " - ], - "description": "This cmdlet removes a taxonomy item.", "prefix": [ "Remove-PnPTaxonomyItem" + ], + "description": "This cmdlet removes a taxonomy item.", + "body": [ + "Remove-PnPTaxonomyItem " ] }, "Remove-PnPTeamsApp": { - "body": [ - "Remove-PnPTeamsApp -Identity $1" - ], - "description": "Allows to remove an app from the Teams AppCatalog.", "prefix": [ "Remove-PnPTeamsApp" + ], + "description": "Allows to remove an app from the Teams AppCatalog.", + "body": [ + "Remove-PnPTeamsApp -Identity $1" ] }, "Remove-PnPTeamsChannel": { - "body": [ - "Remove-PnPTeamsChannel -Team $1 -Identity $2" - ], - "description": "Allows to remove a channel from specified team.", "prefix": [ "Remove-PnPTeamsChannel" + ], + "description": "Allows to remove a channel from specified team.", + "body": [ + "Remove-PnPTeamsChannel -Team $1 -Identity $2" ] }, "Remove-PnPTeamsChannelUser": { - "body": [ - "Remove-PnPTeamsChannelUser -Team $1 -Channel $2 -Identity $3" - ], - "description": "Allows to remove a user from specified private channel.", "prefix": [ "Remove-PnPTeamsChannelUser" + ], + "description": "Allows to remove a user from specified private channel.", + "body": [ + "Remove-PnPTeamsChannelUser -Team $1 -Channel $2 -Identity $3" ] }, "Remove-PnPTeamsTab": { - "body": [ - "Remove-PnPTeamsTab -Team $1 -Channel $2 -Identity $3" - ], - "description": "Allows to remove a tab from channel.", "prefix": [ "Remove-PnPTeamsTab" + ], + "description": "Allows to remove a tab from channel.", + "body": [ + "Remove-PnPTeamsTab -Team $1 -Channel $2 -Identity $3" ] }, "Remove-PnPTeamsTag": { - "body": [ - "Remove-PnPTeamsTag -Team $1 -Identity $2" - ], - "description": "", "prefix": [ "Remove-PnPTeamsTag" + ], + "description": "", + "body": [ + "Remove-PnPTeamsTag -Team $1 -Identity $2" ] }, "Remove-PnPTeamsTeam": { - "body": [ - "Remove-PnPTeamsTeam -Identity $1" + "prefix": [ + "Remove-PnPTeamsTeam" ], "description": [ "Removes a Microsoft Teams Team. This also removes the associated Microsoft 365 Group, and is functionally identical to Remove-PnPMicrosoft365Group", "Remove-PnPMicrosoft365Group" ], - "prefix": [ - "Remove-PnPTeamsTeam" + "body": [ + "Remove-PnPTeamsTeam -Identity $1" ] }, "Remove-PnPTeamsUser": { - "body": [ - "Remove-PnPTeamsUser -Team $1 -User $2" - ], - "description": "Allows to remove user from a team.", "prefix": [ "Remove-PnPTeamsUser" + ], + "description": "Allows to remove user from a team.", + "body": [ + "Remove-PnPTeamsUser -Team $1 -User $2" ] }, "Remove-PnPTenantCdnOrigin": { - "body": [ - "Remove-PnPTenantCdnOrigin -OriginUrl $1 -CdnType $2" + "prefix": [ + "Remove-PnPTenantCdnOrigin" ], "description": [ "Removes an origin from the Public or Private content delivery network (CDN).", "You must be a SharePoint Online Administrator to run the cmdlet." ], - "prefix": [ - "Remove-PnPTenantCdnOrigin" + "body": [ + "Remove-PnPTenantCdnOrigin -OriginUrl $1 -CdnType $2" ] }, "Remove-PnPTenantDeletedSite": { - "body": [ - "Remove-PnPTenantDeletedSite " - ], - "description": "Removes a site collection which is listed in your tenant administration site from the tenant's recycle bin.", "prefix": [ "Remove-PnPTenantDeletedSite" + ], + "description": "Removes a site collection which is listed in your tenant administration site from the tenant's recycle bin.", + "body": [ + "Remove-PnPTenantDeletedSite " ] }, "Remove-PnPTenantSite": { - "body": [ - "Remove-PnPTenantSite " - ], - "description": "Removes a site collection which is listed in your tenant administration site.", "prefix": [ "Remove-PnPTenantSite" + ], + "description": "Removes a site collection which is listed in your tenant administration site.", + "body": [ + "Remove-PnPTenantSite " ] }, "Remove-PnPTenantSyncClientRestriction": { - "body": [ - "Remove-PnPTenantSyncClientRestriction " - ], - "description": "The Remove-PnPTenantSyncClientRestriction cmdlet disables the feature for the tenant, but does not remove any present domain GUID entries from the safe sender recipient list. After the Remove-PnPTenantSyncClientRestriction cmdlet is run it can take up to 24 hours for change to take effect. This parameter will also remove any values set from the GrooveBlockOption parameter for syncing.", "prefix": [ "Remove-PnPTenantSyncClientRestriction" + ], + "description": "The Remove-PnPTenantSyncClientRestriction cmdlet disables the feature for the tenant, but does not remove any present domain GUID entries from the safe sender recipient list. After the Remove-PnPTenantSyncClientRestriction cmdlet is run it can take up to 24 hours for change to take effect. This parameter will also remove any values set from the GrooveBlockOption parameter for syncing.", + "body": [ + "Remove-PnPTenantSyncClientRestriction " ] }, "Remove-PnPTenantTheme": { - "body": [ - "Remove-PnPTenantTheme " - ], - "description": "Removes the specified theme from the tenant configuration.", "prefix": [ "Remove-PnPTenantTheme" + ], + "description": "Removes the specified theme from the tenant configuration.", + "body": [ + "Remove-PnPTenantTheme " ] }, "Remove-PnPTerm": { - "body": [ - "Remove-PnPTerm -Identity $1" - ], - "description": "This cmdlet removes a term from the term store.", "prefix": [ "Remove-PnPTerm" + ], + "description": "This cmdlet removes a term from the term store.", + "body": [ + "Remove-PnPTerm -Identity $1" ] }, "Remove-PnPTermGroup": { - "body": [ - "Remove-PnPTermGroup -Identity $1" - ], - "description": "This cmdlet removes a term group and all the contained term sets.", "prefix": [ "Remove-PnPTermGroup" + ], + "description": "This cmdlet removes a term group and all the contained term sets.", + "body": [ + "Remove-PnPTermGroup -Identity $1" ] }, "Remove-PnPTermLabel": { - "body": [ - "Remove-PnPTermLabel -Label $1 -Term $2 -Lcid $3" - ], - "description": "This cmdlet removes a label/translation from a term.", "prefix": [ "Remove-PnPTermLabel" + ], + "description": "This cmdlet removes a label/translation from a term.", + "body": [ + "Remove-PnPTermLabel -Label $1 -Term $2 -Lcid $3" ] }, "Remove-PnPUser": { - "body": [ - "Remove-PnPUser " - ], - "description": "This command will allow the removal of a specific user from the User Information List", "prefix": [ "Remove-PnPUser" + ], + "description": "This command will allow the removal of a specific user from the User Information List", + "body": [ + "Remove-PnPUser " ] }, "Remove-PnPUserInfo": { - "body": [ - "Remove-PnPUserInfo -LoginName $1" - ], - "description": "Removes user information from the site user information list.", "prefix": [ "Remove-PnPUserInfo" + ], + "description": "Removes user information from the site user information list.", + "body": [ + "Remove-PnPUserInfo -LoginName $1" ] }, "Remove-PnPUserProfile": { - "body": [ - "Remove-PnPUserProfile -LoginName $1" + "prefix": [ + "Remove-PnPUserProfile" ], "description": [ "Removes SharePoint User Profile data from the tenant.", "[!NOTE] The User must first be deleted from AAD before the user profile can be deleted. You can use the Azure AD cmdlet Remove-AzureADUser for this action.", "[!NOTE] The User must first be deleted from AAD before the user profile can be deleted. You can use the Azure AD cmdlet Remove-AzureADUser for this action." ], - "prefix": [ - "Remove-PnPUserProfile" + "body": [ + "Remove-PnPUserProfile -LoginName $1" ] }, "Remove-PnPView": { - "body": [ - "Remove-PnPView " - ], - "description": "Allows to remove view from a list.", "prefix": [ "Remove-PnPView" + ], + "description": "Allows to remove view from a list.", + "body": [ + "Remove-PnPView " ] }, "Remove-PnPVivaConnectionsDashboardACE": { - "body": [ - "Remove-PnPVivaConnectionsDashboardACE " - ], - "description": "Allows to remove Adaptive card extensions from the Viva connections dashboard page.", "prefix": [ "Remove-PnPVivaConnectionsDashboardACE" + ], + "description": "Allows to remove Adaptive card extensions from the Viva connections dashboard page.", + "body": [ + "Remove-PnPVivaConnectionsDashboardACE " ] }, "Remove-PnPWeb": { - "body": [ - "Remove-PnPWeb -Identity $1" - ], - "description": "This cmdlet removes the specified subsite.", "prefix": [ "Remove-PnPWeb" + ], + "description": "This cmdlet removes the specified subsite.", + "body": [ + "Remove-PnPWeb -Identity $1" ] }, "Remove-PnPWebhookSubscription": { - "body": [ - "Remove-PnPWebhookSubscription " - ], - "description": "Allows to remove Webhook subscription from list.", "prefix": [ "Remove-PnPWebhookSubscription" + ], + "description": "Allows to remove Webhook subscription from list.", + "body": [ + "Remove-PnPWebhookSubscription " ] }, "Remove-PnPWebPart": { - "body": [ - "Remove-PnPWebPart -Identity $1 -ServerRelativePageUrl $2" - ], - "description": "Allows to remove web part from a page.", "prefix": [ "Remove-PnPWebPart" + ], + "description": "Allows to remove web part from a page.", + "body": [ + "Remove-PnPWebPart -Identity $1 -ServerRelativePageUrl $2" ] }, "Remove-PnPWikiPage": { - "body": [ - "Remove-PnPWikiPage " - ], - "description": "This cmdlet removes a single wiki page specified by server relative url or site relative url.", "prefix": [ "Remove-PnPWikiPage" + ], + "description": "This cmdlet removes a single wiki page specified by server relative url or site relative url.", + "body": [ + "Remove-PnPWikiPage " ] }, "Rename-PnPFile": { - "body": [ - "Rename-PnPFile " - ], - "description": "Allows to rename a file.", "prefix": [ "Rename-PnPFile" + ], + "description": "Allows to rename a file.", + "body": [ + "Rename-PnPFile " ] }, "Rename-PnPFolder": { - "body": [ - "Rename-PnPFolder -Folder $1 -TargetFolderName $2" - ], - "description": "Allows to rename a folder.", "prefix": [ "Rename-PnPFolder" + ], + "description": "Allows to rename a folder.", + "body": [ + "Rename-PnPFolder -Folder $1 -TargetFolderName $2" ] }, "Rename-PnPTenantSite": { - "body": [ - "Rename-PnPTenantSite " + "prefix": [ + "Rename-PnPTenantSite" ], "description": [ "This cmdlet starts a rename of a site on a SharePoint Online site. You can change the URL, and optionally the site title along with changing the URL.", "This will not work between Multi-geo environments." ], - "prefix": [ - "Rename-PnPTenantSite" + "body": [ + "Rename-PnPTenantSite " ] }, "Repair-PnPSite": { - "body": [ - "Repair-PnPSite -Identity $1" + "prefix": [ + "Repair-PnPSite" ], "description": [ "The Repair-PnPSite cmdlet runs one or all site collection health checks on the site collection and its contents. This cmdlet will make changes if issues are found and automatically repairable.", "The cmdlet reports the health check rules with a summary of the results. The rules might not support automatic repair. Tests without repair mode can be initiated by running the Test-PnPSite cmdlet." ], - "prefix": [ - "Repair-PnPSite" + "body": [ + "Repair-PnPSite -Identity $1" ] }, "Request-PnPAccessToken": { - "body": [ - "Request-PnPAccessToken " - ], - "description": "Returns an access token using the password grant, using the PnP O365 Management Shell client id by default and the AllSites.FullControl scope by default.", "prefix": [ "Request-PnPAccessToken" + ], + "description": "Returns an access token using the password grant, using the PnP O365 Management Shell client id by default and the AllSites.FullControl scope by default.", + "body": [ + "Request-PnPAccessToken " ] }, "Request-PnPPersonalSite": { - "body": [ - "Request-PnPPersonalSite -UserEmails $1" + "prefix": [ + "Request-PnPPersonalSite" ], "description": [ "The Request-PnPPersonalSite cmdlet requests that the users specified be enqueued so that a Personal Site be created for each. The actual OneDrive for Business site is created by a Timer Job later.", @@ -5239,31 +5239,31 @@ null, "Connect-PnPOnline -Url https://tenant-admin.sharepoint.com -UseWebLogin" ], - "prefix": [ - "Request-PnPPersonalSite" + "body": [ + "Request-PnPPersonalSite -UserEmails $1" ] }, "Request-PnPReIndexList": { - "body": [ - "Request-PnPReIndexList " - ], - "description": "Allows to mark the list for full indexing during the next incremental crawl.", "prefix": [ "Request-PnPReIndexList" + ], + "description": "Allows to mark the list for full indexing during the next incremental crawl.", + "body": [ + "Request-PnPReIndexList " ] }, "Request-PnPReIndexWeb": { - "body": [ - "Request-PnPReIndexWeb " - ], - "description": "This cmdlet marks the web for full indexing during the next incremental crawl.", "prefix": [ "Request-PnPReIndexWeb" + ], + "description": "This cmdlet marks the web for full indexing during the next incremental crawl.", + "body": [ + "Request-PnPReIndexWeb " ] }, "Request-PnPSyntexClassifyAndExtract": { - "body": [ - "Request-PnPSyntexClassifyAndExtract -FileUrl $1" + "prefix": [ + "Request-PnPSyntexClassifyAndExtract" ], "description": [ "This command requests for all files in a library, folder or individual files to be classified and extracted via the published Syntex models on the libraries hosting the files. When using with the OffPeak switch then the files are send to the off peak Syntex document processing queue, this way there's no need to enumerate all files in the library and submit them to the regular queue. When using the Force switch without setting OffPeak then all files are enumerated and sent to the regular queue, regardless of whether they were processed in the past.", @@ -5271,172 +5271,172 @@ "Force", "When the list contains more than 5000 files or when using the folder parameter the cmdlet will use the off peak Syntex queue." ], - "prefix": [ - "Request-PnPSyntexClassifyAndExtract" + "body": [ + "Request-PnPSyntexClassifyAndExtract -FileUrl $1" ] }, "Reset-PnPFileVersion": { - "body": [ - "Reset-PnPFileVersion -ServerRelativeUrl $1" - ], - "description": "Allows to rollback a file to its previous version.", "prefix": [ "Reset-PnPFileVersion" + ], + "description": "Allows to rollback a file to its previous version.", + "body": [ + "Reset-PnPFileVersion -ServerRelativeUrl $1" ] }, "Reset-PnPLabel": { - "body": [ - "Reset-PnPLabel " - ], - "description": "Removes the retention label on a list or library and its items. Does not work for sensitivity labels.", "prefix": [ "Reset-PnPLabel" + ], + "description": "Removes the retention label on a list or library and its items. Does not work for sensitivity labels.", + "body": [ + "Reset-PnPLabel " ] }, "Reset-PnPMicrosoft365GroupExpiration": { - "body": [ - "Reset-PnPMicrosoft365GroupExpiration -Identity $1" - ], - "description": "Allows to extend the Microsoft 365 Group expiration date by the number of days defined in the group expiration policy.", "prefix": [ "Reset-PnPMicrosoft365GroupExpiration" + ], + "description": "Allows to extend the Microsoft 365 Group expiration date by the number of days defined in the group expiration policy.", + "body": [ + "Reset-PnPMicrosoft365GroupExpiration -Identity $1" ] }, "Reset-PnPUserOneDriveQuotaToDefault": { - "body": [ - "Reset-PnPUserOneDriveQuotaToDefault " + "prefix": [ + "Reset-PnPUserOneDriveQuotaToDefault" ], "description": [ "This command allows you to reset the quota set on the OneDrive for Business site of a specific user to the default as set on the tenant. You must connect to the tenant admin website (https://:-admin.sharepoint.com) with Connect-PnPOnline in order to use this cmdlet.", null ], - "prefix": [ - "Reset-PnPUserOneDriveQuotaToDefault" + "body": [ + "Reset-PnPUserOneDriveQuotaToDefault " ] }, "Resolve-PnPFolder": { - "body": [ - "Resolve-PnPFolder " - ], - "description": "Returns a folder from a given site relative path, and will create it if it does not exist. If you do not want the folder to be created, for instance just to test if a folder exists, use Get-PnPFolder", "prefix": [ "Resolve-PnPFolder" + ], + "description": "Returns a folder from a given site relative path, and will create it if it does not exist. If you do not want the folder to be created, for instance just to test if a folder exists, use Get-PnPFolder", + "body": [ + "Resolve-PnPFolder " ] }, "Restart-PnPFlowRun": { - "body": [ - "Restart-PnPFlowRun -Environment $1 -Flow $2 -Identity $3" - ], - "description": "This cmdlet restarts/resubmits a specific Power Automate flow run.", "prefix": [ "Restart-PnPFlowRun" + ], + "description": "This cmdlet restarts/resubmits a specific Power Automate flow run.", + "body": [ + "Restart-PnPFlowRun -Environment $1 -Flow $2 -Identity $3" ] }, "Restore-PnPDeletedMicrosoft365Group": { - "body": [ - "Restore-PnPDeletedMicrosoft365Group -Identity $1" - ], - "description": "", "prefix": [ "Restore-PnPDeletedMicrosoft365Group" + ], + "description": "", + "body": [ + "Restore-PnPDeletedMicrosoft365Group -Identity $1" ] }, "Restore-PnPFileVersion": { - "body": [ - "Restore-PnPFileVersion -Url $1 -Identity $2" - ], - "description": "This cmdlet restores a specific file version.", "prefix": [ "Restore-PnPFileVersion" + ], + "description": "This cmdlet restores a specific file version.", + "body": [ + "Restore-PnPFileVersion -Url $1 -Identity $2" ] }, "Restore-PnPListItemVersion": { - "body": [ - "Restore-PnPListItemVersion -List $1 -Identity $2 -Version $3" - ], - "description": "This cmdlet restores a specific list item version.", "prefix": [ "Restore-PnPListItemVersion" + ], + "description": "This cmdlet restores a specific list item version.", + "body": [ + "Restore-PnPListItemVersion -List $1 -Identity $2 -Version $3" ] }, "Restore-PnPRecycleBinItem": { - "body": [ - "Restore-PnPRecycleBinItem -Identity $1" - ], - "description": "This cmdlet restores the specified item from the recycle bin to its original location.", "prefix": [ "Restore-PnPRecycleBinItem" + ], + "description": "This cmdlet restores the specified item from the recycle bin to its original location.", + "body": [ + "Restore-PnPRecycleBinItem -Identity $1" ] }, "Restore-PnPTenantRecycleBinItem": { - "body": [ - "Restore-PnPTenantRecycleBinItem -Url $1" - ], - "description": "The Restore-PnPTenantRecycleBinItem cmdlet allows a site collection that has been deleted and still exists in the tenant recycle bin to be restored to its original location.", "prefix": [ "Restore-PnPTenantRecycleBinItem" + ], + "description": "The Restore-PnPTenantRecycleBinItem cmdlet allows a site collection that has been deleted and still exists in the tenant recycle bin to be restored to its original location.", + "body": [ + "Restore-PnPTenantRecycleBinItem -Url $1" ] }, "Restore-PnPTenantSite": { - "body": [ - "Restore-PnPTenantSite " - ], - "description": "Restores a site collection which is listed in your tenant administration site from the tenant's recycle bin.", "prefix": [ "Restore-PnPTenantSite" + ], + "description": "Restores a site collection which is listed in your tenant administration site from the tenant's recycle bin.", + "body": [ + "Restore-PnPTenantSite " ] }, "Revoke-PnPAzureADAppSitePermission": { - "body": [ - "Revoke-PnPAzureADAppSitePermission -PermissionId $1" - ], - "description": "This cmdlets revokes permissions for a given app in a site.", "prefix": [ "Revoke-PnPAzureADAppSitePermission" + ], + "description": "This cmdlets revokes permissions for a given app in a site.", + "body": [ + "Revoke-PnPAzureADAppSitePermission -PermissionId $1" ] }, "Revoke-PnPHubSiteRights": { - "body": [ - "Revoke-PnPHubSiteRights " - ], - "description": "Allows to revoke permissions from existing once to associate sites to Hub Sites for specified users.", "prefix": [ "Revoke-PnPHubSiteRights" + ], + "description": "Allows to revoke permissions from existing once to associate sites to Hub Sites for specified users.", + "body": [ + "Revoke-PnPHubSiteRights " ] }, "Revoke-PnPSiteDesignRights": { - "body": [ - "Revoke-PnPSiteDesignRights " - ], - "description": "Revokes the rights to use the site design for the specified users.", "prefix": [ "Revoke-PnPSiteDesignRights" + ], + "description": "Revokes the rights to use the site design for the specified users.", + "body": [ + "Revoke-PnPSiteDesignRights " ] }, "Revoke-PnPTenantServicePrincipalPermission": { - "body": [ - "Revoke-PnPTenantServicePrincipalPermission -Scope $1" - ], - "description": "Revokes a permission that was previously granted to the \"SharePoint Online Client Extensibility Web Application Service Principal\" service principal.", "prefix": [ "Revoke-PnPTenantServicePrincipalPermission" + ], + "description": "Revokes a permission that was previously granted to the \"SharePoint Online Client Extensibility Web Application Service Principal\" service principal.", + "body": [ + "Revoke-PnPTenantServicePrincipalPermission -Scope $1" ] }, "Revoke-PnPUserSession": { - "body": [ - "Revoke-PnPUserSession -User $1" + "prefix": [ + "Revoke-PnPUserSession" ], "description": [ "User will be signed out of browser, desktop and mobile applications accessing Office 365 resources across all devices.", "It is not applicable to guest users." ], - "prefix": [ - "Revoke-PnPUserSession" + "body": [ + "Revoke-PnPUserSession -User $1" ] }, "Save-PnPPageConversionLog": { - "body": [ - "Save-PnPPageConversionLog " + "prefix": [ + "Save-PnPPageConversionLog" ], "description": [ "EXAMPLE 1", @@ -5444,40 +5444,40 @@ "Save-PnPPageConversionLog", "Persists the current client side page conversion log data to the loggers linked to the last used page transformation run. Needs to be used in conjunction with the -LogSkipFlush flag on the ConvertTo-PnPPage cmdlet." ], - "prefix": [ - "Save-PnPPageConversionLog" + "body": [ + "Save-PnPPageConversionLog " ] }, "Save-PnPSiteTemplate": { - "body": [ - "Save-PnPSiteTemplate -Template $1" - ], - "description": "Allows to save a PnP site template to the file system.", "prefix": [ "Save-PnPSiteTemplate" + ], + "description": "Allows to save a PnP site template to the file system.", + "body": [ + "Save-PnPSiteTemplate -Template $1" ] }, "Save-PnPTenantTemplate": { - "body": [ - "Save-PnPTenantTemplate -Template $1" - ], - "description": "This cmdlet saves the tenant template for provisioning hierarchy to the file system in the latest or specified schema.", "prefix": [ "Save-PnPTenantTemplate" + ], + "description": "This cmdlet saves the tenant template for provisioning hierarchy to the file system in the latest or specified schema.", + "body": [ + "Save-PnPTenantTemplate -Template $1" ] }, "Send-PnPMail": { - "body": [ - "Send-PnPMail -From $1 -To $2 -Subject $3 -Body $4" - ], - "description": "Allows sending an e-mail through SharePoint Online, SMTP or Microsoft Graph. Sending e-mail through Microsoft Graph requires the Mail.Send permission.", "prefix": [ "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.", + "body": [ + "Send-PnPMail -From $1 -To $2 -Subject $3 -Body $4" ] }, "Set-PnPAdaptiveScopeProperty": { - "body": [ - "Set-PnPAdaptiveScopeProperty -Key $1 -Value $2" + "prefix": [ + "Set-PnPAdaptiveScopeProperty" ], "description": [ "This cmdlet is used to set or create an indexed property bag value for use in SharePoint site scopes with adaptive policy scopes. Executing this cmdlet is similar to setting or adding an indexed value to the current web property bag using Set-PnPPropertyBagValue with the -Indexed parameter with the addition that it will also ensure the noscript is temporarily disabled to allow for this to happen. It will revert its state back to what it was after adding or updating the property bag value. Using this cmdlet does therefore require having the SharePoint Online Admin role or equivalent app permissions.", @@ -5486,376 +5486,376 @@ "Set-PnPPropertyBagValue", "-Indexed" ], - "prefix": [ - "Set-PnPAdaptiveScopeProperty" + "body": [ + "Set-PnPAdaptiveScopeProperty -Key $1 -Value $2" ] }, "Set-PnPApplicationCustomizer": { - "body": [ - "Set-PnPApplicationCustomizer " - ], - "description": "Updates a SharePoint Framework client side extension application customizer by updating its custom action. Only the properties that will be provided will be updated. Others will remain as they are.", "prefix": [ "Set-PnPApplicationCustomizer" + ], + "description": "Updates a SharePoint Framework client side extension application customizer by updating its custom action. Only the properties that will be provided will be updated. Others will remain as they are.", + "body": [ + "Set-PnPApplicationCustomizer " ] }, "Set-PnPAppSideLoading": { - "body": [ - "Set-PnPAppSideLoading " + "prefix": [ + "Set-PnPAppSideLoading" ], "description": [ "This cmdlet enables or disables the app side loading feature on the site.", "Allows to enable the App SideLoading Feature on a site." ], - "prefix": [ - "Set-PnPAppSideLoading" + "body": [ + "Set-PnPAppSideLoading " ] }, "Set-PnPAuditing": { - "body": [ - "Set-PnPAuditing " - ], - "description": "Allows to modify Auditing setting for a site.", "prefix": [ "Set-PnPAuditing" + ], + "description": "Allows to modify Auditing setting for a site.", + "body": [ + "Set-PnPAuditing " ] }, "Set-PnPAvailablePageLayouts": { - "body": [ - "Set-PnPAvailablePageLayouts -PageLayouts $1" - ], - "description": "This cmdlet sets the available page layouts for the current site. It requires NoScript feature to be disabled.", "prefix": [ "Set-PnPAvailablePageLayouts" + ], + "description": "This cmdlet sets the available page layouts for the current site. It requires NoScript feature to be disabled.", + "body": [ + "Set-PnPAvailablePageLayouts -PageLayouts $1" ] }, "Set-PnPAzureADAppSitePermission": { - "body": [ - "Set-PnPAzureADAppSitePermission -PermissionId $1 -Permissions $2" + "prefix": [ + "Set-PnPAzureADAppSitePermission" ], "description": [ "This cmdlet updates permissions for a given Azure Active Directory application registration in a site collection. It is used in conjunction with the Azure Active Directory SharePoint application permission Sites.Selected. Notice that this cmdlet allows for more permissions compared for when initially setting rights through Grant-PnPAzureADAppSitePermission.", "Grant-PnPAzureADAppSitePermission" ], - "prefix": [ - "Set-PnPAzureADAppSitePermission" + "body": [ + "Set-PnPAzureADAppSitePermission -PermissionId $1 -Permissions $2" ] }, "Set-PnPAzureADGroup": { - "body": [ - "Set-PnPAzureADGroup -Identity $1" - ], - "description": "This cmdlet sets the properties of a specific Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.", "prefix": [ "Set-PnPAzureADGroup" + ], + "description": "This cmdlet sets the properties of a specific Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.", + "body": [ + "Set-PnPAzureADGroup -Identity $1" ] }, "Set-PnPBrowserIdleSignOut": { - "body": [ - "Set-PnPBrowserIdleSignOut -Enabled $1 -WarnAfter $2 -SignOutAfter $3" - ], - "description": "Use this cmdlet to set the current configuration values for Idle session sign-out, the time at which users are warned and subsequently signed out of Microsoft 365 after a period of browser inactivity in SharePoint Online and OneDrive.", "prefix": [ "Set-PnPBrowserIdleSignOut" + ], + "description": "Use this cmdlet to set the current configuration values for Idle session sign-out, the time at which users are warned and subsequently signed out of Microsoft 365 after a period of browser inactivity in SharePoint Online and OneDrive.", + "body": [ + "Set-PnPBrowserIdleSignOut -Enabled $1 -WarnAfter $2 -SignOutAfter $3" ] }, "Set-PnPBuiltInDesignPackageVisibility": { - "body": [ - "Set-PnPBuiltInDesignPackageVisibility " - ], - "description": "Sets the visibility of the available built-in Design Packages.", "prefix": [ "Set-PnPBuiltInDesignPackageVisibility" + ], + "description": "Sets the visibility of the available built-in Design Packages.", + "body": [ + "Set-PnPBuiltInDesignPackageVisibility " ] }, "Set-PnPBuiltInSiteTemplateSettings": { - "body": [ - "Set-PnPBuiltInSiteTemplateSettings -Identity $1 -IsHidden $2" - ], - "description": "This cmdlet allows the built-in SharePoint Online site templates to be shown or hidden.", "prefix": [ "Set-PnPBuiltInSiteTemplateSettings" + ], + "description": "This cmdlet allows the built-in SharePoint Online site templates to be shown or hidden.", + "body": [ + "Set-PnPBuiltInSiteTemplateSettings -Identity $1 -IsHidden $2" ] }, "Set-PnPContentType": { - "body": [ - "Set-PnPContentType " - ], - "description": "Allows modification of the settings of a content type in a list or site.", "prefix": [ "Set-PnPContentType" + ], + "description": "Allows modification of the settings of a content type in a list or site.", + "body": [ + "Set-PnPContentType " ] }, "Set-PnPContext": { - "body": [ - "Set-PnPContext -Context $1" - ], - "description": "Sets the Client Context to be used by the cmdlets, which allows easy context switching. See examples for details.", "prefix": [ "Set-PnPContext" + ], + "description": "Sets the Client Context to be used by the cmdlets, which allows easy context switching. See examples for details.", + "body": [ + "Set-PnPContext -Context $1" ] }, "Set-PnPDefaultColumnValues": { - "body": [ - "Set-PnPDefaultColumnValues " - ], - "description": "Sets default column values for a document library, per folder, or for the root folder if the folder parameter has not been specified. Supports both text and taxonomy fields.", "prefix": [ "Set-PnPDefaultColumnValues" + ], + "description": "Sets default column values for a document library, per folder, or for the root folder if the folder parameter has not been specified. Supports both text and taxonomy fields.", + "body": [ + "Set-PnPDefaultColumnValues " ] }, "Set-PnPDefaultContentTypeToList": { - "body": [ - "Set-PnPDefaultContentTypeToList -List $1 -ContentType $2" - ], - "description": "Allows to modify the default content type for a list.", "prefix": [ "Set-PnPDefaultContentTypeToList" + ], + "description": "Allows to modify the default content type for a list.", + "body": [ + "Set-PnPDefaultContentTypeToList -List $1 -ContentType $2" ] }, "Set-PnPDefaultPageLayout": { - "body": [ - "Set-PnPDefaultPageLayout -Title $1" - ], - "description": "Allows to set the default page layout for a publishing site.", "prefix": [ "Set-PnPDefaultPageLayout" + ], + "description": "Allows to set the default page layout for a publishing site.", + "body": [ + "Set-PnPDefaultPageLayout -Title $1" ] }, "Set-PnPDisableSpacesActivation": { - "body": [ - "Set-PnPDisableSpacesActivation -Disable $1" - ], - "description": "This cmdlet disables or enables SharePoint Spaces for a specific site collection or entire SharePoint tenant.", "prefix": [ "Set-PnPDisableSpacesActivation" + ], + "description": "This cmdlet disables or enables SharePoint Spaces for a specific site collection or entire SharePoint tenant.", + "body": [ + "Set-PnPDisableSpacesActivation -Disable $1" ] }, "Set-PnPDocumentSetField": { - "body": [ - "Set-PnPDocumentSetField -DocumentSet $1 -Field $2" - ], - "description": "Allows to set a site column from the available content types to a document set.", "prefix": [ "Set-PnPDocumentSetField" + ], + "description": "Allows to set a site column from the available content types to a document set.", + "body": [ + "Set-PnPDocumentSetField -DocumentSet $1 -Field $2" ] }, "Set-PnPField": { - "body": [ - "Set-PnPField " - ], - "description": "Allows to modify a field in a specific list or for the whole site.", "prefix": [ "Set-PnPField" + ], + "description": "Allows to modify a field in a specific list or for the whole site.", + "body": [ + "Set-PnPField " ] }, "Set-PnPFileCheckedIn": { - "body": [ - "Set-PnPFileCheckedIn " - ], - "description": "This cmdlet checks in a single file, optionally with a comment.", "prefix": [ "Set-PnPFileCheckedIn" + ], + "description": "This cmdlet checks in a single file, optionally with a comment.", + "body": [ + "Set-PnPFileCheckedIn " ] }, "Set-PnPFileCheckedOut": { - "body": [ - "Set-PnPFileCheckedOut " - ], - "description": "Allows to check out a file.", "prefix": [ "Set-PnPFileCheckedOut" + ], + "description": "Allows to check out a file.", + "body": [ + "Set-PnPFileCheckedOut " ] }, "Set-PnPFolderPermission": { - "body": [ - "Set-PnPFolderPermission " - ], - "description": "Sets or clears permissions on folders within SharePoint Online. When adding permissions, so when not using -InheritPermissions, it will apply unique permissions to the library, inheriting the ones from its parent. Use Get-PnPRoleDefinition to retrieve all available roles you can add or remove using this cmdlet.", "prefix": [ "Set-PnPFolderPermission" + ], + "description": "Sets or clears permissions on folders within SharePoint Online. When adding permissions, so when not using -InheritPermissions, it will apply unique permissions to the library, inheriting the ones from its parent. Use Get-PnPRoleDefinition to retrieve all available roles you can add or remove using this cmdlet.", + "body": [ + "Set-PnPFolderPermission " ] }, "Set-PnPFooter": { - "body": [ - "Set-PnPFooter " - ], - "description": "Allows the footer to be enabled or disabled and fine tuned in the current web. For modifying the navigation links shown in the footer, use Add-PnPNavigationNode -Location Footer.", "prefix": [ "Set-PnPFooter" + ], + "description": "Allows the footer to be enabled or disabled and fine tuned in the current web. For modifying the navigation links shown in the footer, use Add-PnPNavigationNode -Location Footer.", + "body": [ + "Set-PnPFooter " ] }, "Set-PnPGraphSubscription": { - "body": [ - "Set-PnPGraphSubscription -Identity $1 -ExpirationDate $2" - ], - "description": "Allows to update an existing Microsoft Graph subscription.", "prefix": [ "Set-PnPGraphSubscription" + ], + "description": "Allows to update an existing Microsoft Graph subscription.", + "body": [ + "Set-PnPGraphSubscription -Identity $1 -ExpirationDate $2" ] }, "Set-PnPGroup": { - "body": [ - "Set-PnPGroup -Identity $1" - ], - "description": "This cmdlet updates the roles and settings of the specified group.", "prefix": [ "Set-PnPGroup" + ], + "description": "This cmdlet updates the roles and settings of the specified group.", + "body": [ + "Set-PnPGroup -Identity $1" ] }, "Set-PnPGroupPermissions": { - "body": [ - "Set-PnPGroupPermissions " - ], - "description": "This cmdlet adds or removes roles (permissions) of a specified group on a site or list level.", "prefix": [ "Set-PnPGroupPermissions" + ], + "description": "This cmdlet adds or removes roles (permissions) of a specified group on a site or list level.", + "body": [ + "Set-PnPGroupPermissions " ] }, "Set-PnPHideDefaultThemes": { - "body": [ - "Set-PnPHideDefaultThemes -HideDefaultThemes $1" + "prefix": [ + "Set-PnPHideDefaultThemes" ], "description": [ "Use this cmdlet to hide or show the default themes to users as an option to change the look of their site.", "You must be a SharePoint Online Administrator to run the cmdlet." ], - "prefix": [ - "Set-PnPHideDefaultThemes" + "body": [ + "Set-PnPHideDefaultThemes -HideDefaultThemes $1" ] }, "Set-PnPHomePage": { - "body": [ - "Set-PnPHomePage " - ], - "description": "Allows to set the home page of the current site.", "prefix": [ "Set-PnPHomePage" + ], + "description": "Allows to set the home page of the current site.", + "body": [ + "Set-PnPHomePage " ] }, "Set-PnPHomeSite": { - "body": [ - "Set-PnPHomeSite -HomeSiteUrl $1" - ], - "description": "Allows to set the home site of the current tenant.", "prefix": [ "Set-PnPHomeSite" + ], + "description": "Allows to set the home site of the current tenant.", + "body": [ + "Set-PnPHomeSite -HomeSiteUrl $1" ] }, "Set-PnPHubSite": { - "body": [ - "Set-PnPHubSite " - ], - "description": "Allows configuring a hub site.", "prefix": [ "Set-PnPHubSite" + ], + "description": "Allows configuring a hub site.", + "body": [ + "Set-PnPHubSite " ] }, "Set-PnPImageListItemColumn": { - "body": [ - "Set-PnPImageListItemColumn " - ], - "description": "Allows setting the Image/Thumbnail column value of a list item.", "prefix": [ "Set-PnPImageListItemColumn" + ], + "description": "Allows setting the Image/Thumbnail column value of a list item.", + "body": [ + "Set-PnPImageListItemColumn " ] }, "Set-PnPIndexedProperties": { - "body": [ - "Set-PnPIndexedProperties -Keys $1" - ], - "description": "Marks values of the propertybag to be indexed by search. Notice that this will overwrite the existing flags, i.e. only the properties you define with the cmdlet will be indexed.", "prefix": [ "Set-PnPIndexedProperties" + ], + "description": "Marks values of the propertybag to be indexed by search. Notice that this will overwrite the existing flags, i.e. only the properties you define with the cmdlet will be indexed.", + "body": [ + "Set-PnPIndexedProperties -Keys $1" ] }, "Set-PnPInPlaceRecordsManagement": { - "body": [ - "Set-PnPInPlaceRecordsManagement -Enabled $1" - ], - "description": "Activates or deactivates in place records management feature in the site collection.", "prefix": [ "Set-PnPInPlaceRecordsManagement" + ], + "description": "Activates or deactivates in place records management feature in the site collection.", + "body": [ + "Set-PnPInPlaceRecordsManagement -Enabled $1" ] }, "Set-PnPKnowledgeHubSite": { - "body": [ - "Set-PnPKnowledgeHubSite -KnowledgeHubSiteUrl $1" - ], - "description": "Allows to set Knowledge Hub Site of the current tenant.", "prefix": [ "Set-PnPKnowledgeHubSite" + ], + "description": "Allows to set Knowledge Hub Site of the current tenant.", + "body": [ + "Set-PnPKnowledgeHubSite -KnowledgeHubSiteUrl $1" ] }, "Set-PnPLabel": { - "body": [ - "Set-PnPLabel " - ], - "description": "Allows setting a retention label on a list or library and its items. Does not work for sensitivity labels.", "prefix": [ "Set-PnPLabel" + ], + "description": "Allows setting a retention label on a list or library and its items. Does not work for sensitivity labels.", + "body": [ + "Set-PnPLabel " ] }, "Set-PnPList": { - "body": [ - "Set-PnPList -Identity $1" - ], - "description": "Allows the configuration of a specific SharePoint Online list to be set.", "prefix": [ "Set-PnPList" + ], + "description": "Allows the configuration of a specific SharePoint Online list to be set.", + "body": [ + "Set-PnPList -Identity $1" ] }, "Set-PnPListInformationRightsManagement": { - "body": [ - "Set-PnPListInformationRightsManagement -List $1" - ], - "description": "This cmdlet enables Information Rights Management (IRM) on the list and updates the IRM settings.", "prefix": [ "Set-PnPListInformationRightsManagement" + ], + "description": "This cmdlet enables Information Rights Management (IRM) on the list and updates the IRM settings.", + "body": [ + "Set-PnPListInformationRightsManagement -List $1" ] }, "Set-PnPListItem": { - "body": [ - "Set-PnPListItem " - ], - "description": "Allows to modify a list item.", "prefix": [ "Set-PnPListItem" + ], + "description": "Allows to modify a list item.", + "body": [ + "Set-PnPListItem " ] }, "Set-PnPListItemAsRecord": { - "body": [ - "Set-PnPListItemAsRecord " - ], - "description": "Allows to set a list item as a record.", "prefix": [ "Set-PnPListItemAsRecord" + ], + "description": "Allows to set a list item as a record.", + "body": [ + "Set-PnPListItemAsRecord " ] }, "Set-PnPListItemPermission": { - "body": [ - "Set-PnPListItemPermission " - ], - "description": "Allows to modify list item permissions.", "prefix": [ "Set-PnPListItemPermission" + ], + "description": "Allows to modify list item permissions.", + "body": [ + "Set-PnPListItemPermission " ] }, "Set-PnPListPermission": { - "body": [ - "Set-PnPListPermission -Identity $1 -Group $2" + "prefix": [ + "Set-PnPListPermission" ], "description": [ "Allows changing permissions on a SharePoint list. In case you would like to break the permission inheritance on a list from its parent, you can use Set-PnPList -BreakRoleInheritance.", "Set-PnPList -BreakRoleInheritance" ], - "prefix": [ - "Set-PnPListPermission" + "body": [ + "Set-PnPListPermission -Identity $1 -Group $2" ] }, "Set-PnPListRecordDeclaration": { - "body": [ - "Set-PnPListRecordDeclaration -List $1" + "prefix": [ + "Set-PnPListRecordDeclaration" ], "description": [ "The RecordDeclaration parameter supports 3 values:", @@ -5864,311 +5864,311 @@ "NeverAllowManualDeclaration ", "UseSiteCollectionDefaults " ], - "prefix": [ - "Set-PnPListRecordDeclaration" + "body": [ + "Set-PnPListRecordDeclaration -List $1" ] }, "Set-PnPMasterPage": { - "body": [ - "Set-PnPMasterPage " - ], - "description": "Sets the default master page of the current web.", "prefix": [ "Set-PnPMasterPage" + ], + "description": "Sets the default master page of the current web.", + "body": [ + "Set-PnPMasterPage " ] }, "Set-PnPMessageCenterAnnouncementAsArchived": { - "body": [ - "Set-PnPMessageCenterAnnouncementAsArchived " - ], - "description": "Allows to mark message center announcements as archived.", "prefix": [ "Set-PnPMessageCenterAnnouncementAsArchived" + ], + "description": "Allows to mark message center announcements as archived.", + "body": [ + "Set-PnPMessageCenterAnnouncementAsArchived " ] }, "Set-PnPMessageCenterAnnouncementAsFavorite": { - "body": [ - "Set-PnPMessageCenterAnnouncementAsFavorite " - ], - "description": "Allows to mark message center announcements as favorite.", "prefix": [ "Set-PnPMessageCenterAnnouncementAsFavorite" + ], + "description": "Allows to mark message center announcements as favorite.", + "body": [ + "Set-PnPMessageCenterAnnouncementAsFavorite " ] }, "Set-PnPMessageCenterAnnouncementAsNotArchived": { - "body": [ - "Set-PnPMessageCenterAnnouncementAsNotArchived " - ], - "description": "Allows to mark message center announcements as not archived.", "prefix": [ "Set-PnPMessageCenterAnnouncementAsNotArchived" + ], + "description": "Allows to mark message center announcements as not archived.", + "body": [ + "Set-PnPMessageCenterAnnouncementAsNotArchived " ] }, "Set-PnPMessageCenterAnnouncementAsNotFavorite": { - "body": [ - "Set-PnPMessageCenterAnnouncementAsNotFavorite " - ], - "description": "Allows to mark message center announcements as not favorite.", "prefix": [ "Set-PnPMessageCenterAnnouncementAsNotFavorite" + ], + "description": "Allows to mark message center announcements as not favorite.", + "body": [ + "Set-PnPMessageCenterAnnouncementAsNotFavorite " ] }, "Set-PnPMessageCenterAnnouncementAsRead": { - "body": [ - "Set-PnPMessageCenterAnnouncementAsRead " - ], - "description": "Allows to mark message center announcements as read.", "prefix": [ "Set-PnPMessageCenterAnnouncementAsRead" + ], + "description": "Allows to mark message center announcements as read.", + "body": [ + "Set-PnPMessageCenterAnnouncementAsRead " ] }, "Set-PnPMessageCenterAnnouncementAsUnread": { - "body": [ - "Set-PnPMessageCenterAnnouncementAsUnread " - ], - "description": "This cmdlet marks one or multiple message center announcements of the Office 365 Services as unread for the current user.", "prefix": [ "Set-PnPMessageCenterAnnouncementAsUnread" + ], + "description": "This cmdlet marks one or multiple message center announcements of the Office 365 Services as unread for the current user.", + "body": [ + "Set-PnPMessageCenterAnnouncementAsUnread " ] }, "Set-PnPMicrosoft365Group": { - "body": [ - "Set-PnPMicrosoft365Group -Identity $1" - ], - "description": "Allows to modify Microsoft 365 Group.", "prefix": [ "Set-PnPMicrosoft365Group" + ], + "description": "Allows to modify Microsoft 365 Group.", + "body": [ + "Set-PnPMicrosoft365Group -Identity $1" ] }, "Set-PnPMicrosoft365GroupSettings": { - "body": [ - "Set-PnPMicrosoft365GroupSettings -Identity $1" - ], - "description": "Allows to modify Microsoft 365 Group settings for tenant or specified group.", "prefix": [ "Set-PnPMicrosoft365GroupSettings" + ], + "description": "Allows to modify Microsoft 365 Group settings for tenant or specified group.", + "body": [ + "Set-PnPMicrosoft365GroupSettings -Identity $1" ] }, "Set-PnPMinimalDownloadStrategy": { - "body": [ - "Set-PnPMinimalDownloadStrategy " - ], - "description": "Activates or deactivates the minimal download strategy feature of a site", "prefix": [ "Set-PnPMinimalDownloadStrategy" + ], + "description": "Activates or deactivates the minimal download strategy feature of a site", + "body": [ + "Set-PnPMinimalDownloadStrategy " ] }, "Set-PnPPage": { - "body": [ - "Set-PnPPage " - ], - "description": "Sets parameters of a page. All pages must be located inside the Site Pages library.", "prefix": [ "Set-PnPPage" + ], + "description": "Sets parameters of a page. All pages must be located inside the Site Pages library.", + "body": [ + "Set-PnPPage " ] }, "Set-PnPPageTextPart": { - "body": [ - "Set-PnPPageTextPart " - ], - "description": "Sets the rendered text in existing client side text component", "prefix": [ "Set-PnPPageTextPart" + ], + "description": "Sets the rendered text in existing client side text component", + "body": [ + "Set-PnPPageTextPart " ] }, "Set-PnPPageWebPart": { - "body": [ - "Set-PnPPageWebPart " - ], - "description": "Sets specific client side web part properties. Notice that the title parameter will only set the -internal- title of web part. The title which is shown in the UI will, if possible, have to be set using the PropertiesJson parameter. Use Get-PnPPageComponent to retrieve the instance id and properties of a web part.", "prefix": [ "Set-PnPPageWebPart" + ], + "description": "Sets specific client side web part properties. Notice that the title parameter will only set the -internal- title of web part. The title which is shown in the UI will, if possible, have to be set using the PropertiesJson parameter. Use Get-PnPPageComponent to retrieve the instance id and properties of a web part.", + "body": [ + "Set-PnPPageWebPart " ] }, "Set-PnPPlannerBucket": { - "body": [ - "Set-PnPPlannerBucket -Bucket $1 -Group $2 -Plan $3 -Name $4" - ], - "description": "This cmdlet updates an existing Planner bucket.", "prefix": [ "Set-PnPPlannerBucket" + ], + "description": "This cmdlet updates an existing Planner bucket.", + "body": [ + "Set-PnPPlannerBucket -Bucket $1 -Group $2 -Plan $3 -Name $4" ] }, "Set-PnPPlannerConfiguration": { - "body": [ - "Set-PnPPlannerConfiguration " - ], - "description": "This cmdlet allows the Microsoft Planner tenant configuration to be changed.", "prefix": [ "Set-PnPPlannerConfiguration" + ], + "description": "This cmdlet allows the Microsoft Planner tenant configuration to be changed.", + "body": [ + "Set-PnPPlannerConfiguration " ] }, "Set-PnPPlannerPlan": { - "body": [ - "Set-PnPPlannerPlan -Group $1 -Plan $2 -Title $3" - ], - "description": "This cmdlet updates an existing planner plan.", "prefix": [ "Set-PnPPlannerPlan" + ], + "description": "This cmdlet updates an existing planner plan.", + "body": [ + "Set-PnPPlannerPlan -Group $1 -Plan $2 -Title $3" ] }, "Set-PnPPlannerTask": { - "body": [ - "Set-PnPPlannerTask -TaskId $1" - ], - "description": "This cmdlets allows you to update an existing task in a Planner plan.", "prefix": [ "Set-PnPPlannerTask" + ], + "description": "This cmdlets allows you to update an existing task in a Planner plan.", + "body": [ + "Set-PnPPlannerTask -TaskId $1" ] }, "Set-PnPPlannerUserPolicy": { - "body": [ - "Set-PnPPlannerUserPolicy -Identity $1" - ], - "description": "This cmdlet allows a Microsoft Planner user policy to be set for the provided user.", "prefix": [ "Set-PnPPlannerUserPolicy" + ], + "description": "This cmdlet allows a Microsoft Planner user policy to be set for the provided user.", + "body": [ + "Set-PnPPlannerUserPolicy -Identity $1" ] }, "Set-PnPPropertyBagValue": { - "body": [ - "Set-PnPPropertyBagValue -Key $1 -Value $2" + "prefix": [ + "Set-PnPPropertyBagValue" ], "description": [ "Updates an existing property bag value or adds it as a new key\\value pair if it doesn't exist yet. 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.", "Set-PnPTenantSite -Url -NoScriptSite:$false" ], - "prefix": [ - "Set-PnPPropertyBagValue" + "body": [ + "Set-PnPPropertyBagValue -Key $1 -Value $2" ] }, "Set-PnPRequestAccessEmails": { - "body": [ - "Set-PnPRequestAccessEmails " - ], - "description": "Enables or disables access requests to be sent and configures which e-mail address should receive these requests. The web you apply this on must have unique rights.", "prefix": [ "Set-PnPRequestAccessEmails" + ], + "description": "Enables or disables access requests to be sent and configures which e-mail address should receive these requests. The web you apply this on must have unique rights.", + "body": [ + "Set-PnPRequestAccessEmails " ] }, "Set-PnPRoleDefinition": { - "body": [ - "Set-PnPRoleDefinition -Identity $1" - ], - "description": "Allows updating an existing Role Definition (Permission Level) in the site collection in the current context.", "prefix": [ "Set-PnPRoleDefinition" + ], + "description": "Allows updating an existing Role Definition (Permission Level) in the site collection in the current context.", + "body": [ + "Set-PnPRoleDefinition -Identity $1" ] }, "Set-PnPSearchConfiguration": { - "body": [ - "Set-PnPSearchConfiguration -Configuration $1" - ], - "description": "This cmdlet sets the search configuration for a single web, site collection or a tenant, using a file or a configuration string.", "prefix": [ "Set-PnPSearchConfiguration" + ], + "description": "This cmdlet sets the search configuration for a single web, site collection or a tenant, using a file or a configuration string.", + "body": [ + "Set-PnPSearchConfiguration -Configuration $1" ] }, "Set-PnPSearchExternalItem": { - "body": [ - "Set-PnPSearchExternalItem -ItemId $1 -ConnectionId $2 -Properties $3" - ], - "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" + ], + "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.", + "body": [ + "Set-PnPSearchExternalItem -ItemId $1 -ConnectionId $2 -Properties $3" ] }, "Set-PnPSearchSettings": { - "body": [ - "Set-PnPSearchSettings " - ], - "description": "Allows to modify search settings for a site.", "prefix": [ "Set-PnPSearchSettings" + ], + "description": "Allows to modify search settings for a site.", + "body": [ + "Set-PnPSearchSettings " ] }, "Set-PnPSite": { - "body": [ - "Set-PnPSite " - ], - "description": "Allows to modify a site properties.", "prefix": [ "Set-PnPSite" + ], + "description": "Allows to modify a site properties.", + "body": [ + "Set-PnPSite " ] }, "Set-PnPSiteClassification": { - "body": [ - "Set-PnPSiteClassification -Identity $1" + "prefix": [ + "Set-PnPSiteClassification" ], "description": [ "This cmdlet allows for setting a classic site classification on the currently connected to site. If the site has a Microsoft 365 Group behind it, the classification will be placed on the Microsoft 365 Group and will require either Directory.Read.All or Directory.ReadWrite.All application permissions on Microsoft Graph. If it does not have a Microsoft 365 Group behind it, it will set the site classification on the SharePoint Online site and will not require Microsoft Graph permissions. Use Get-PnPAvailableSiteClassification to get an overview of the available site classifications on the tenant. For the new Microsoft Purview sensitivity labels, use Set-PnPSiteSensitivityLabel instead.", "Get-PnPAvailableSiteClassification", "Set-PnPSiteSensitivityLabel" ], - "prefix": [ - "Set-PnPSiteClassification" + "body": [ + "Set-PnPSiteClassification -Identity $1" ] }, "Set-PnPSiteClosure": { - "body": [ - "Set-PnPSiteClosure -State $1" - ], - "description": "Allows to open or close a site which has a site policy applied.", "prefix": [ "Set-PnPSiteClosure" + ], + "description": "Allows to open or close a site which has a site policy applied.", + "body": [ + "Set-PnPSiteClosure -State $1" ] }, "Set-PnPSiteDesign": { - "body": [ - "Set-PnPSiteDesign -Identity $1" - ], - "description": "Allows to update a Site Design on the current tenant.", "prefix": [ "Set-PnPSiteDesign" + ], + "description": "Allows to update a Site Design on the current tenant.", + "body": [ + "Set-PnPSiteDesign -Identity $1" ] }, "Set-PnPSiteGroup": { - "body": [ - "Set-PnPSiteGroup -Identity $1" + "prefix": [ + "Set-PnPSiteGroup" ], "description": [ "For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at Intro to SharePoint Online Management Shell.", "Intro to SharePoint Online Management Shell" ], - "prefix": [ - "Set-PnPSiteGroup" + "body": [ + "Set-PnPSiteGroup -Identity $1" ] }, "Set-PnPSitePolicy": { - "body": [ - "Set-PnPSitePolicy -Name $1" - ], - "description": "Allows to modify a site policy.", "prefix": [ "Set-PnPSitePolicy" + ], + "description": "Allows to modify a site policy.", + "body": [ + "Set-PnPSitePolicy -Name $1" ] }, "Set-PnPSiteScript": { - "body": [ - "Set-PnPSiteScript -Identity $1" - ], - "description": "This cmdlet updates an existing site script.", "prefix": [ "Set-PnPSiteScript" + ], + "description": "This cmdlet updates an existing site script.", + "body": [ + "Set-PnPSiteScript -Identity $1" ] }, "Set-PnPSiteScriptPackage": { - "body": [ - "Set-PnPSiteScriptPackage -Identity $1" - ], - "description": "Allows to update an existing Site Script Package on the current tenant.", "prefix": [ "Set-PnPSiteScriptPackage" + ], + "description": "Allows to update an existing Site Script Package on the current tenant.", + "body": [ + "Set-PnPSiteScriptPackage -Identity $1" ] }, "Set-PnPSiteSensitivityLabel": { - "body": [ - "Set-PnPSiteSensitivityLabel -Identity $1" + "prefix": [ + "Set-PnPSiteSensitivityLabel" ], "description": [ "This cmdlet allows for setting a Microsoft Purview sensitivity label on the currently connected to site. If the site has a Microsoft 365 Group behind it, the label will be placed on the Microsoft 365 Group and will require either Group.ReadWrite.All or Directory.ReadWrite.All delegate permissions on Microsoft Graph. This currently cannot be done using App Only permissions due to a limitation in Microsoft Graph. If it does not have a Microsoft 365 Group behind it, it will set the label on the SharePoint Online site and will not require Microsoft Graph permissions and will work with both delegate as well as app only logins.", @@ -6178,397 +6178,397 @@ "For the classic classification labels, use Set-PnPSiteClassification instead.", "Set-PnPSiteClassification" ], - "prefix": [ - "Set-PnPSiteSensitivityLabel" + "body": [ + "Set-PnPSiteSensitivityLabel -Identity $1" ] }, "Set-PnPSiteTemplateMetadata": { - "body": [ - "Set-PnPSiteTemplateMetadata " - ], - "description": "Allows to modify metadata of a provisioning template.", "prefix": [ "Set-PnPSiteTemplateMetadata" + ], + "description": "Allows to modify metadata of a provisioning template.", + "body": [ + "Set-PnPSiteTemplateMetadata " ] }, "Set-PnPStorageEntity": { - "body": [ - "Set-PnPStorageEntity -Key $1 -Value $2" - ], - "description": "Allows to set Storage Entities / Farm Properties in either the tenant scoped app catalog or the site collection app catalog.", "prefix": [ "Set-PnPStorageEntity" + ], + "description": "Allows to set Storage Entities / Farm Properties in either the tenant scoped app catalog or the site collection app catalog.", + "body": [ + "Set-PnPStorageEntity -Key $1 -Value $2" ] }, "Set-PnPStructuralNavigationCacheSiteState": { - "body": [ - "Set-PnPStructuralNavigationCacheSiteState -IsEnabled $1" - ], - "description": "The Set-PnPStructuralNavigationCacheSiteState cmdlet can be used to enable or disable caching for all webs in a site collection. If the SiteUrl parameter has not been specified the currently connected to site will be used.", "prefix": [ "Set-PnPStructuralNavigationCacheSiteState" + ], + "description": "The Set-PnPStructuralNavigationCacheSiteState cmdlet can be used to enable or disable caching for all webs in a site collection. If the SiteUrl parameter has not been specified the currently connected to site will be used.", + "body": [ + "Set-PnPStructuralNavigationCacheSiteState -IsEnabled $1" ] }, "Set-PnPStructuralNavigationCacheWebState": { - "body": [ - "Set-PnPStructuralNavigationCacheWebState -IsEnabled $1" - ], - "description": "The Set-PnPStructuralNavigationCacheWebState cmdlet can be used to enable or disable caching for a webs in a site collection. If the WebUrl parameter has not been specified the currently connected to site will be used.", "prefix": [ "Set-PnPStructuralNavigationCacheWebState" + ], + "description": "The Set-PnPStructuralNavigationCacheWebState cmdlet can be used to enable or disable caching for a webs in a site collection. If the WebUrl parameter has not been specified the currently connected to site will be used.", + "body": [ + "Set-PnPStructuralNavigationCacheWebState -IsEnabled $1" ] }, "Set-PnPSubscribeSharePointNewsDigest": { - "body": [ - "Set-PnPSubscribeSharePointNewsDigest -Account $1 -Enabled $2" + "prefix": [ + "Set-PnPSubscribeSharePointNewsDigest" ], "description": [ "Requires a connection to a SharePoint Tenant Admin site.", "Enables or disables the SharePoint News Digest mails for a particular user." ], - "prefix": [ - "Set-PnPSubscribeSharePointNewsDigest" + "body": [ + "Set-PnPSubscribeSharePointNewsDigest -Account $1 -Enabled $2" ] }, "Set-PnPTaxonomyFieldValue": { - "body": [ - "Set-PnPTaxonomyFieldValue -ListItem $1 -InternalFieldName $2 -TermId $3" - ], - "description": "Allows to update taxonomy term value in a listitem field.", "prefix": [ "Set-PnPTaxonomyFieldValue" + ], + "description": "Allows to update taxonomy term value in a listitem field.", + "body": [ + "Set-PnPTaxonomyFieldValue -ListItem $1 -InternalFieldName $2 -TermId $3" ] }, "Set-PnPTeamifyPromptHidden": { - "body": [ - "Set-PnPTeamifyPromptHidden " - ], - "description": "This cmdlet hides the teamify prompt for the current site.", "prefix": [ "Set-PnPTeamifyPromptHidden" + ], + "description": "This cmdlet hides the teamify prompt for the current site.", + "body": [ + "Set-PnPTeamifyPromptHidden " ] }, "Set-PnPTeamsChannel": { - "body": [ - "Set-PnPTeamsChannel -Team $1 -Identity $2" - ], - "description": "Allows to update an existing Teams Channel.", "prefix": [ "Set-PnPTeamsChannel" + ], + "description": "Allows to update an existing Teams Channel.", + "body": [ + "Set-PnPTeamsChannel -Team $1 -Identity $2" ] }, "Set-PnPTeamsChannelUser": { - "body": [ - "Set-PnPTeamsChannelUser -Team $1 -Channel $2 -Identity $3 -Role $4" - ], - "description": "Allows to update the role of a user in an existing Microsoft Teams private channel.", "prefix": [ "Set-PnPTeamsChannelUser" + ], + "description": "Allows to update the role of a user in an existing Microsoft Teams private channel.", + "body": [ + "Set-PnPTeamsChannelUser -Team $1 -Channel $2 -Identity $3 -Role $4" ] }, "Set-PnPTeamsTab": { - "body": [ - "Set-PnPTeamsTab -Team $1 -Channel $2" - ], - "description": "Allows to update Teams Tab settings.", "prefix": [ "Set-PnPTeamsTab" + ], + "description": "Allows to update Teams Tab settings.", + "body": [ + "Set-PnPTeamsTab -Team $1 -Channel $2" ] }, "Set-PnPTeamsTag": { - "body": [ - "Set-PnPTeamsTag -Team $1 -Identity $2 -DisplayName $3" - ], - "description": "", "prefix": [ "Set-PnPTeamsTag" + ], + "description": "", + "body": [ + "Set-PnPTeamsTag -Team $1 -Identity $2 -DisplayName $3" ] }, "Set-PnPTeamsTeam": { - "body": [ - "Set-PnPTeamsTeam -Identity $1" - ], - "description": "Allows to update team settings.", "prefix": [ "Set-PnPTeamsTeam" + ], + "description": "Allows to update team settings.", + "body": [ + "Set-PnPTeamsTeam -Identity $1" ] }, "Set-PnPTeamsTeamArchivedState": { - "body": [ - "Set-PnPTeamsTeamArchivedState -Identity $1 -Archived $2" - ], - "description": "Allows to update the archived state of a team.", "prefix": [ "Set-PnPTeamsTeamArchivedState" + ], + "description": "Allows to update the archived state of a team.", + "body": [ + "Set-PnPTeamsTeamArchivedState -Identity $1 -Archived $2" ] }, "Set-PnPTeamsTeamPicture": { - "body": [ - "Set-PnPTeamsTeamPicture -Team $1 -Path $2" - ], - "description": "Notice that this cmdlet will immediately return but it can take a few hours before the changes are reflected in Microsoft Teams.", "prefix": [ "Set-PnPTeamsTeamPicture" + ], + "description": "Notice that this cmdlet will immediately return but it can take a few hours before the changes are reflected in Microsoft Teams.", + "body": [ + "Set-PnPTeamsTeamPicture -Team $1 -Path $2" ] }, "Set-PnPTemporarilyDisableAppBar": { - "body": [ - "Set-PnPTemporarilyDisableAppBar -Enabled $1" - ], - "description": "Allows to disable/enable SharePoint Online App Bar.", "prefix": [ "Set-PnPTemporarilyDisableAppBar" + ], + "description": "Allows to disable/enable SharePoint Online App Bar.", + "body": [ + "Set-PnPTemporarilyDisableAppBar -Enabled $1" ] }, "Set-PnPTenant": { - "body": [ - "Set-PnPTenant " + "prefix": [ + "Set-PnPTenant" ], "description": [ "Sets organization-level tenant properties which impact the entire tenant.", "You must have the SharePoint Online admin or Global admin role to run the cmdlet." ], - "prefix": [ - "Set-PnPTenant" + "body": [ + "Set-PnPTenant " ] }, "Set-PnPTenantAppCatalogUrl": { - "body": [ - "Set-PnPTenantAppCatalogUrl -Url $1" - ], - "description": "This cmdlet sets the tenant scoped app catalog to the specified url.", "prefix": [ "Set-PnPTenantAppCatalogUrl" + ], + "description": "This cmdlet sets the tenant scoped app catalog to the specified url.", + "body": [ + "Set-PnPTenantAppCatalogUrl -Url $1" ] }, "Set-PnPTenantCdnEnabled": { - "body": [ - "Set-PnPTenantCdnEnabled " - ], - "description": "Enables or disables the public or private Office 365 Content Delivery Network (CDN) for the tenant.", "prefix": [ "Set-PnPTenantCdnEnabled" + ], + "description": "Enables or disables the public or private Office 365 Content Delivery Network (CDN) for the tenant.", + "body": [ + "Set-PnPTenantCdnEnabled " ] }, "Set-PnPTenantCdnPolicy": { - "body": [ - "Set-PnPTenantCdnPolicy -CdnType $1 -PolicyType $2 -PolicyValue $3" - ], - "description": "Sets the CDN Policies for the specified CDN (Public | Private).", "prefix": [ "Set-PnPTenantCdnPolicy" + ], + "description": "Sets the CDN Policies for the specified CDN (Public | Private).", + "body": [ + "Set-PnPTenantCdnPolicy -CdnType $1 -PolicyType $2 -PolicyValue $3" ] }, "Set-PnPTenantSite": { - "body": [ - "Set-PnPTenantSite " - ], - "description": "Allows settings of a site collection to be updated", "prefix": [ "Set-PnPTenantSite" + ], + "description": "Allows settings of a site collection to be updated", + "body": [ + "Set-PnPTenantSite " ] }, "Set-PnPTenantSyncClientRestriction": { - "body": [ - "Set-PnPTenantSyncClientRestriction " + "prefix": [ + "Set-PnPTenantSyncClientRestriction" ], "description": [ "Sets organization-level sync client restriction properties such as BlockMacSync, OptOutOfGroveBlock, and DisableReportProblemDialog.", "You must have the SharePoint Online admin or Global admin role to run the cmdlet." ], - "prefix": [ - "Set-PnPTenantSyncClientRestriction" + "body": [ + "Set-PnPTenantSyncClientRestriction " ] }, "Set-PnPTerm": { - "body": [ - "Set-PnPTerm -Identity $1" - ], - "description": "This cmdlet allows you to update an existing term.", "prefix": [ "Set-PnPTerm" + ], + "description": "This cmdlet allows you to update an existing term.", + "body": [ + "Set-PnPTerm -Identity $1" ] }, "Set-PnPTermGroup": { - "body": [ - "Set-PnPTermGroup -Identity $1" - ], - "description": "The cmdlet allows you to update an existing term group.", "prefix": [ "Set-PnPTermGroup" + ], + "description": "The cmdlet allows you to update an existing term group.", + "body": [ + "Set-PnPTermGroup -Identity $1" ] }, "Set-PnPTermSet": { - "body": [ - "Set-PnPTermSet -Identity $1" - ], - "description": "This cmdlet allows you to update an existing term set.", "prefix": [ "Set-PnPTermSet" + ], + "description": "This cmdlet allows you to update an existing term set.", + "body": [ + "Set-PnPTermSet -Identity $1" ] }, "Set-PnPTheme": { - "body": [ - "Set-PnPTheme " - ], - "description": "Sets the theme of the current web, if any of the attributes is not set, that value will be set to null", "prefix": [ "Set-PnPTheme" + ], + "description": "Sets the theme of the current web, if any of the attributes is not set, that value will be set to null", + "body": [ + "Set-PnPTheme " ] }, "Set-PnPTraceLog": { - "body": [ - "Set-PnPTraceLog " - ], - "description": "Defines if tracing should be turned on. PnP Core, which is the foundation of these cmdlets, uses the standard Trace functionality of .NET. With this cmdlet you can turn capturing of this trace to a log file on or off. Notice that basically only the Provisioning Engine writes to the trace log which means that cmdlets related to the engine will produce output.", "prefix": [ "Set-PnPTraceLog" + ], + "description": "Defines if tracing should be turned on. PnP Core, which is the foundation of these cmdlets, uses the standard Trace functionality of .NET. With this cmdlet you can turn capturing of this trace to a log file on or off. Notice that basically only the Provisioning Engine writes to the trace log which means that cmdlets related to the engine will produce output.", + "body": [ + "Set-PnPTraceLog " ] }, "Set-PnPUserOneDriveQuota": { - "body": [ - "Set-PnPUserOneDriveQuota " + "prefix": [ + "Set-PnPUserOneDriveQuota" ], "description": [ "This command allows you to set the quota on the OneDrive for Business site of a specific user. You must connect to the tenant admin website (https://:-admin.sharepoint.com) with Connect-PnPOnline in order to use this cmdlet.", null ], - "prefix": [ - "Set-PnPUserOneDriveQuota" + "body": [ + "Set-PnPUserOneDriveQuota " ] }, "Set-PnPUserProfileProperty": { - "body": [ - "Set-PnPUserProfileProperty -Account $1 -PropertyName $2 -Value $3" - ], - "description": "Requires a connection to a SharePoint Tenant Admin site.", "prefix": [ "Set-PnPUserProfileProperty" + ], + "description": "Requires a connection to a SharePoint Tenant Admin site.", + "body": [ + "Set-PnPUserProfileProperty -Account $1 -PropertyName $2 -Value $3" ] }, "Set-PnPView": { - "body": [ - "Set-PnPView " + "prefix": [ + "Set-PnPView" ], "description": [ "Sets one or more properties of an existing view, see here https://learn.microsoft.com/previous-versions/office/sharepoint-server/ee543328(v=office.15) for the list of view properties.", "https://learn.microsoft.com/previous-versions/office/sharepoint-server/ee543328(v=office.15)" ], - "prefix": [ - "Set-PnPView" + "body": [ + "Set-PnPView " ] }, "Set-PnPVivaConnectionsDashboardACE": { - "body": [ - "Set-PnPVivaConnectionsDashboardACE -Identity $1" - ], - "description": "Allows to update the Adaptive card extension in the Viva connections dashboard page.", "prefix": [ "Set-PnPVivaConnectionsDashboardACE" + ], + "description": "Allows to update the Adaptive card extension in the Viva connections dashboard page.", + "body": [ + "Set-PnPVivaConnectionsDashboardACE -Identity $1" ] }, "Set-PnPWeb": { - "body": [ - "Set-PnPWeb " - ], - "description": "Allows setting various properties on a web", "prefix": [ "Set-PnPWeb" + ], + "description": "Allows setting various properties on a web", + "body": [ + "Set-PnPWeb " ] }, "Set-PnPWebHeader": { - "body": [ - "Set-PnPWebHeader " - ], - "description": "Through this cmdlet the various options offered through \"Change the look\" Header can be configured.", "prefix": [ "Set-PnPWebHeader" + ], + "description": "Through this cmdlet the various options offered through \"Change the look\" Header can be configured.", + "body": [ + "Set-PnPWebHeader " ] }, "Set-PnPWebhookSubscription": { - "body": [ - "Set-PnPWebhookSubscription " - ], - "description": "Allows to update Webhook subscription.", "prefix": [ "Set-PnPWebhookSubscription" + ], + "description": "Allows to update Webhook subscription.", + "body": [ + "Set-PnPWebhookSubscription " ] }, "Set-PnPWebPartProperty": { - "body": [ - "Set-PnPWebPartProperty -ServerRelativePageUrl $1 -Identity $2 -Key $3 -Value $4" - ], - "description": "Allows to modify web part property.", "prefix": [ "Set-PnPWebPartProperty" + ], + "description": "Allows to modify web part property.", + "body": [ + "Set-PnPWebPartProperty -ServerRelativePageUrl $1 -Identity $2 -Key $3 -Value $4" ] }, "Set-PnPWebPermission": { - "body": [ - "Set-PnPWebPermission -Group $1" - ], - "description": "This cmdlet adds permissions to a user or a group or removes permissions from a user or a group.", "prefix": [ "Set-PnPWebPermission" + ], + "description": "This cmdlet adds permissions to a user or a group or removes permissions from a user or a group.", + "body": [ + "Set-PnPWebPermission -Group $1" ] }, "Set-PnPWebTheme": { - "body": [ - "Set-PnPWebTheme " - ], - "description": "Sets the theme of the current web. * Requires SharePoint Online Administrator Rights *", "prefix": [ "Set-PnPWebTheme" + ], + "description": "Sets the theme of the current web. * Requires SharePoint Online Administrator Rights *", + "body": [ + "Set-PnPWebTheme " ] }, "Set-PnPWikiPageContent": { - "body": [ - "Set-PnPWikiPageContent -Content $1 -ServerRelativePageUrl $2" - ], - "description": "This cmdlet updates the content of the specified wikipage to the value specified either in a string or a file.", "prefix": [ "Set-PnPWikiPageContent" + ], + "description": "This cmdlet updates the content of the specified wikipage to the value specified either in a string or a file.", + "body": [ + "Set-PnPWikiPageContent -Content $1 -ServerRelativePageUrl $2" ] }, "Stop-PnPFlowRun": { - "body": [ - "Stop-PnPFlowRun -Environment $1 -Flow $2 -Identity $3" - ], - "description": "This cmdlet cancels a running Power Automate flow run.", "prefix": [ "Stop-PnPFlowRun" + ], + "description": "This cmdlet cancels a running Power Automate flow run.", + "body": [ + "Stop-PnPFlowRun -Environment $1 -Flow $2 -Identity $3" ] }, "Submit-PnPSearchQuery": { - "body": [ - "Submit-PnPSearchQuery " - ], - "description": "Allows to run an arbitrary search query against the SharePoint search index.", "prefix": [ "Submit-PnPSearchQuery" + ], + "description": "Allows to run an arbitrary search query against the SharePoint search index.", + "body": [ + "Submit-PnPSearchQuery " ] }, "Submit-PnPTeamsChannelMessage": { - "body": [ - "Submit-PnPTeamsChannelMessage -Team $1 -Channel $2 -Message $3" - ], - "description": "Allows to send a message to a Microsoft Teams Channel.", "prefix": [ "Submit-PnPTeamsChannelMessage" + ], + "description": "Allows to send a message to a Microsoft Teams Channel.", + "body": [ + "Submit-PnPTeamsChannelMessage -Team $1 -Channel $2 -Message $3" ] }, "Sync-PnPAppToTeams": { - "body": [ - "Sync-PnPAppToTeams " - ], - "description": "Allows to Synchronize an app from the tenant app catalog to the Microsoft Teams app catalog.", "prefix": [ "Sync-PnPAppToTeams" + ], + "description": "Allows to Synchronize an app from the tenant app catalog to the Microsoft Teams app catalog.", + "body": [ + "Sync-PnPAppToTeams " ] }, "Sync-PnPSharePointUserProfilesFromAzureActiveDirectory": { - "body": [ - "Sync-PnPSharePointUserProfilesFromAzureActiveDirectory -UserProfilePropertyMapping $1" + "prefix": [ + "Sync-PnPSharePointUserProfilesFromAzureActiveDirectory" ], "description": [ "This cmdlet allows synchronizing user profiles from Azure Active Directory to their SharePoint Online User Profile equivalents. Note that certain properties are already synced by default. A list of these can be found here: https://learn.microsoft.com/sharepoint/user-profile-sync#properties-that-are-synced-into-sharepoint-user-profiles", @@ -6600,156 +6600,156 @@ " ", " " ], - "prefix": [ - "Sync-PnPSharePointUserProfilesFromAzureActiveDirectory" + "body": [ + "Sync-PnPSharePointUserProfilesFromAzureActiveDirectory -UserProfilePropertyMapping $1" ] }, "Test-PnPListItemIsRecord": { - "body": [ - "Test-PnPListItemIsRecord " - ], - "description": "Allows to check if the specified list item is a record.", "prefix": [ "Test-PnPListItemIsRecord" + ], + "description": "Allows to check if the specified list item is a record.", + "body": [ + "Test-PnPListItemIsRecord " ] }, "Test-PnPMicrosoft365GroupAliasIsUsed": { - "body": [ - "Test-PnPMicrosoft365GroupAliasIsUsed -Alias $1" - ], - "description": "This command allows you to test if a provided alias is used or free, helps decide if it can be used as part of connecting an Microsoft 365 group to an existing classic site collection.", "prefix": [ "Test-PnPMicrosoft365GroupAliasIsUsed" + ], + "description": "This command allows you to test if a provided alias is used or free, helps decide if it can be used as part of connecting an Microsoft 365 group to an existing classic site collection.", + "body": [ + "Test-PnPMicrosoft365GroupAliasIsUsed -Alias $1" ] }, "Test-PnPSite": { - "body": [ - "Test-PnPSite -Identity $1" - ], - "description": "The Test-PnPSite cmdlet runs one or all site collection health checks on the site collection and its contents. Tests are intended not to make any changes except in repair mode, which can be initiated by running the Repair-PnPSite cmdlet. This cmdlet reports the rules together with a summary of the results.", "prefix": [ "Test-PnPSite" + ], + "description": "The Test-PnPSite cmdlet runs one or all site collection health checks on the site collection and its contents. Tests are intended not to make any changes except in repair mode, which can be initiated by running the Repair-PnPSite cmdlet. This cmdlet reports the rules together with a summary of the results.", + "body": [ + "Test-PnPSite -Identity $1" ] }, "Test-PnPTenantTemplate": { - "body": [ - "Test-PnPTenantTemplate -Template $1" - ], - "description": "Allows to check if the tenant template has invalid references.", "prefix": [ "Test-PnPTenantTemplate" + ], + "description": "Allows to check if the tenant template has invalid references.", + "body": [ + "Test-PnPTenantTemplate -Template $1" ] }, "Undo-PnPFileCheckedOut": { - "body": [ - "Undo-PnPFileCheckedOut " - ], - "description": "This cmdlet discards changes to a single file.", "prefix": [ "Undo-PnPFileCheckedOut" + ], + "description": "This cmdlet discards changes to a single file.", + "body": [ + "Undo-PnPFileCheckedOut " ] }, "Uninstall-PnPApp": { - "body": [ - "Uninstall-PnPApp " - ], - "description": "Allows to uninstall an available add-in from the site.", "prefix": [ "Uninstall-PnPApp" + ], + "description": "Allows to uninstall an available add-in from the site.", + "body": [ + "Uninstall-PnPApp " ] }, "Unpublish-PnPApp": { - "body": [ - "Unpublish-PnPApp " - ], - "description": "Allows to unpublish an available add-in from the site.", "prefix": [ "Unpublish-PnPApp" + ], + "description": "Allows to unpublish an available add-in from the site.", + "body": [ + "Unpublish-PnPApp " ] }, "Unpublish-PnPContentType": { - "body": [ - "Unpublish-PnPContentType -ContentType $1" - ], - "description": "Allows to unpublish a content type present on content type hub site.", "prefix": [ "Unpublish-PnPContentType" + ], + "description": "Allows to unpublish a content type present on content type hub site.", + "body": [ + "Unpublish-PnPContentType -ContentType $1" ] }, "Unpublish-PnPSyntexModel": { - "body": [ - "Unpublish-PnPSyntexModel -Model $1 -ListWebUrl $2 -List $3" - ], - "description": "This command unpublishes a Syntex document processing model from a list.", "prefix": [ "Unpublish-PnPSyntexModel" + ], + "description": "This command unpublishes a Syntex document processing model from a list.", + "body": [ + "Unpublish-PnPSyntexModel -Model $1 -ListWebUrl $2 -List $3" ] }, "Unregister-PnPHubSite": { - "body": [ - "Unregister-PnPHubSite -Site $1" - ], - "description": "Allows to unregister a site as a hubsite.", "prefix": [ "Unregister-PnPHubSite" + ], + "description": "Allows to unregister a site as a hubsite.", + "body": [ + "Unregister-PnPHubSite -Site $1" ] }, "Update-PnPApp": { - "body": [ - "Update-PnPApp " - ], - "description": "Allows to update an available app from the app catalog.", "prefix": [ "Update-PnPApp" + ], + "description": "Allows to update an available app from the app catalog.", + "body": [ + "Update-PnPApp " ] }, "Update-PnPAvailableSiteClassification": { - "body": [ - "Update-PnPAvailableSiteClassification -Settings $1" - ], - "description": "This cmdlet allows for updating the configuration of the classic site classifications configured within the tenant.", "prefix": [ "Update-PnPAvailableSiteClassification" + ], + "description": "This cmdlet allows for updating the configuration of the classic site classifications configured within the tenant.", + "body": [ + "Update-PnPAvailableSiteClassification -Settings $1" ] }, "Update-PnPSiteDesignFromWeb": { - "body": [ - "Update-PnPSiteDesignFromWeb -Identity $1 -Url $2" + "prefix": [ + "Update-PnPSiteDesignFromWeb" ], "description": [ "Updates an existing Site Design on the current tenant based on the site provided through -Url or the currently connected to site if -Url is omitted. It combines the steps of Get-PnPSiteScriptFromWeb and Set-PnPSiteScript to generate a site script from a web and update an existing site script with it into one cmdlet. The information returned from running the cmdlet is the information of the Site Design that has been updated.", "Get-PnPSiteScriptFromWeb", "Set-PnPSiteScript" ], - "prefix": [ - "Update-PnPSiteDesignFromWeb" + "body": [ + "Update-PnPSiteDesignFromWeb -Identity $1 -Url $2" ] }, "Update-PnPTeamsApp": { - "body": [ - "Update-PnPTeamsApp -Identity $1 -Path $2" - ], - "description": "Allows to update an existing app in the Teams App Catalog.", "prefix": [ "Update-PnPTeamsApp" + ], + "description": "Allows to update an existing app in the Teams App Catalog.", + "body": [ + "Update-PnPTeamsApp -Identity $1 -Path $2" ] }, "Update-PnPTeamsUser": { - "body": [ - "Update-PnPTeamsUser -Team $1 -User $2 -Role $3" - ], - "description": "This cmdlet updates the role of the specified user in the selected Teams instance to Member or Owner.", "prefix": [ "Update-PnPTeamsUser" + ], + "description": "This cmdlet updates the role of the specified user in the selected Teams instance to Member or Owner.", + "body": [ + "Update-PnPTeamsUser -Team $1 -User $2 -Role $3" ] }, "Update-PnPUserType": { - "body": [ - "Update-PnPUserType -LoginName $1" - ], - "description": "This cmdlet retrieves the UserType value of the specified user and updates the UserType across all SharePoint Online sites in the SharePoint Online tenant. This can be used, for example, to convert a Guest user to a standard (Member) user if the user's UserType was previously updated in Azure AD.", "prefix": [ "Update-PnPUserType" + ], + "description": "This cmdlet retrieves the UserType value of the specified user and updates the UserType across all SharePoint Online sites in the SharePoint Online tenant. This can be used, for example, to convert a Guest user to a standard (Member) user if the user's UserType was previously updated in Azure AD.", + "body": [ + "Update-PnPUserType -LoginName $1" ] } } \ No newline at end of file