diff --git a/documentation/Get-PnPAvailableSensitivityLabel.md b/documentation/Get-PnPAvailableSensitivityLabel.md index 370e6788d..6ff355b51 100644 --- a/documentation/Get-PnPAvailableSensitivityLabel.md +++ b/documentation/Get-PnPAvailableSensitivityLabel.md @@ -21,7 +21,7 @@ Get-PnPAvailableSensitivityLabel [-Identity ] [-User ## 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](Get-PnPAvailableSiteClassification.html) instead. +For retrieval of the available classic Site Classification, use [Get-PnPAvailableSiteClassification](Get-PnPAvailableSiteClassification.md) instead. ## EXAMPLES diff --git a/documentation/Get-PnPAvailableSiteClassification.md b/documentation/Get-PnPAvailableSiteClassification.md index 07db355b5..06d92426a 100644 --- a/documentation/Get-PnPAvailableSiteClassification.md +++ b/documentation/Get-PnPAvailableSiteClassification.md @@ -24,7 +24,7 @@ Get-PnPAvailableSiteClassification [-Connection ] ``` ## 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](Get-PnPAvailableSensitivityLabel.html) instead. +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](Get-PnPAvailableSensitivityLabel.md) instead. ## EXAMPLES diff --git a/documentation/Get-PnPAzureADServicePrincipalAvailableAppRole.md b/documentation/Get-PnPAzureADServicePrincipalAvailableAppRole.md index 4ffa2465a..7e032845e 100644 --- a/documentation/Get-PnPAzureADServicePrincipalAvailableAppRole.md +++ b/documentation/Get-PnPAzureADServicePrincipalAvailableAppRole.md @@ -25,7 +25,7 @@ Get-PnPAzureADServicePrincipalAvailableAppRole -Principal ] [-ItemType ] [-ItemName < 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. -Use [Get-PnPFolderFile](Get-PnPFolderFile.html) to retrieve only files and [Get-PnPFolderFolder](Get-PnPFolderFolder.html) to retrieve only folders allowing additional properties of the returned items to be requested. +Use [Get-PnPFolderFile](Get-PnPFolderFile.md) to retrieve only files and [Get-PnPFolderFolder](Get-PnPFolderFolder.md) to retrieve only folders allowing additional properties of the returned items to be requested. ## EXAMPLES diff --git a/documentation/Grant-PnPAzureADAppSitePermission.md b/documentation/Grant-PnPAzureADAppSitePermission.md index 8ee4d1b11..b12654fc3 100644 --- a/documentation/Grant-PnPAzureADAppSitePermission.md +++ b/documentation/Grant-PnPAzureADAppSitePermission.md @@ -25,7 +25,7 @@ Grant-PnPAzureADAppSitePermission -AppId -DisplayName -Permissio ## 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. Notice that this cmdlet allows for fewer permissions compared to updating rights through [Set-PnPAzureADAppSitePermission](Set-PnPAzureADAppSitePermission.html). If you wish to i.e. assign FullControl permissions, you need to add read or write permissions through this cmdlet first and then update it to FullControl. +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. Notice that this cmdlet allows for fewer permissions compared to updating rights through [Set-PnPAzureADAppSitePermission](Set-PnPAzureADAppSitePermission.md). If you wish to i.e. assign FullControl permissions, you need to add read or write permissions through this cmdlet first and then update it to FullControl. ## EXAMPLES @@ -88,7 +88,7 @@ Accept wildcard characters: False ``` ### -Permissions -Specifies the permissions to set for the Azure Active Directory application registration which can either be Read or Write. Use [Set-PnPAzureADAppSitePermission](Set-PnPAzureADAppSitePermission.html) after initially adding these permissions to update it to Manage or FullControl permissions. +Specifies the permissions to set for the Azure Active Directory application registration which can either be Read or Write. Use [Set-PnPAzureADAppSitePermission](Set-PnPAzureADAppSitePermission.md) after initially adding these permissions to update it to Manage or FullControl permissions. ```yaml Type: String diff --git a/documentation/Set-PnPAzureADAppSitePermission.md b/documentation/Set-PnPAzureADAppSitePermission.md index 69f0d3a56..6370b54c8 100644 --- a/documentation/Set-PnPAzureADAppSitePermission.md +++ b/documentation/Set-PnPAzureADAppSitePermission.md @@ -25,7 +25,7 @@ Set-PnPAzureADAppSitePermission -PermissionId -Permissions -User [-AddRole ``` ## 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.html#-breakroleinheritance). +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.md#-breakroleinheritance). ## EXAMPLES diff --git a/documentation/Set-PnPSiteClassification.md b/documentation/Set-PnPSiteClassification.md index 9cc51ae71..361fd809a 100644 --- a/documentation/Set-PnPSiteClassification.md +++ b/documentation/Set-PnPSiteClassification.md @@ -24,7 +24,7 @@ Set-PnPSiteClassification -Identity [-Connection ] ``` ## 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](Get-PnPAvailableSiteClassification.html) to get an overview of the available site classifications on the tenant. For the new Microsoft Purview sensitivity labels, use [Set-PnPSiteSensitivityLabel](Set-PnPSiteSensitivityLabel.html) instead. +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](Get-PnPAvailableSiteClassification.md) to get an overview of the available site classifications on the tenant. For the new Microsoft Purview sensitivity labels, use [Set-PnPSiteSensitivityLabel](Set-PnPSiteSensitivityLabel.md) instead. ## EXAMPLES diff --git a/documentation/Set-PnPSiteSensitivityLabel.md b/documentation/Set-PnPSiteSensitivityLabel.md index 129de1cb0..04caae5bb 100644 --- a/documentation/Set-PnPSiteSensitivityLabel.md +++ b/documentation/Set-PnPSiteSensitivityLabel.md @@ -28,9 +28,9 @@ This cmdlet allows for setting a Microsoft Purview sensitivity label on the curr It may take up to a few minutes for a change to the sensitivity label to become visible in SharePoint Online and Azure Active Directory. -Use [Get-PnPAvailableSensitivityLabel](Get-PnPAvailableSensitivityLabel.html) to get an overview of the available Microsoft Purview sensitivity labels on the tenant. +Use [Get-PnPAvailableSensitivityLabel](Get-PnPAvailableSensitivityLabel.md) to get an overview of the available Microsoft Purview sensitivity labels on the tenant. -For the classic classification labels, use [Set-PnPSiteClassification](Set-PnPSiteClassification.html) instead. +For the classic classification labels, use [Set-PnPSiteClassification](Set-PnPSiteClassification.md) instead. ## EXAMPLES diff --git a/pages/Build-Site.ps1 b/pages/Build-Site.ps1 index 9264413dd..b6eecb21d 100644 --- a/pages/Build-Site.ps1 +++ b/pages/Build-Site.ps1 @@ -82,7 +82,7 @@ Try { $aliasCmdletsCount = $aliasCmdlets.Length Write-Host "- Retrieving alias template page" - $aliasTemplatePageContent = Get-Content -Path "./dev/pages/cmdlets/alias.md" -Raw + $aliasTemplatePageContent = Get-Content -Path "./dev/pages/cmdlets/alias.template" -Raw ForEach($aliasCmdlet in $aliasCmdlets) { @@ -115,7 +115,7 @@ foreach ($nightlycmdlet in $nightlycmdlets) { # Generate cmdlet toc Write-Host "Retrieving all cmdlet pages" -$cmdletPages = Get-ChildItem -Path "./dev/pages/cmdlets/*.md" -Exclude "index.md","alias.md" +$cmdletPages = Get-ChildItem -Path "./dev/pages/cmdlets/*.md" -Exclude "index.md","alias.template" $toc = "" foreach ($cmdletPage in $cmdletPages) { $toc = $toc + "- name: $($cmdletPage.BaseName)`n href: $($cmdletPage.Name)`n" diff --git a/pages/cmdlets/alias.md b/pages/cmdlets/alias.md deleted file mode 100644 index 82af0bf9b..000000000 --- a/pages/cmdlets/alias.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -Module Name: PnP.PowerShell -title: %%cmdletname%% -schema: 2.0.0 -applicable: SharePoint Online -external help file: PnP.PowerShell.dll-Help.xml -online version: https://pnp.github.io/powershell/cmdlets/%%cmdletname%%.html ---- - -# %%cmdletname%% - -## SYNOPSIS -This is an alias for [%%referencedcmdletname%%](./%%referencedcmdletname%%.md). Please update your scripts to use this cmdlet instead as it may be removed in a future update. - -## RELATED LINKS - -[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) diff --git a/powershell b/powershell index a7a08dd3c..f14e380fa 160000 --- a/powershell +++ b/powershell @@ -1 +1 @@ -Subproject commit a7a08dd3c20b05c473db109251fbc8b5380a164d +Subproject commit f14e380faecbacfd128c354a3c84a9f7e3d6746f