Skip to content

Commit cc2484b

Browse files
committed
Merge branch 'dev' of https://github.com/KoenZomers/pnppowershell into dev
2 parents 9a7d373 + 3d6ef67 commit cc2484b

23 files changed

+3732
-3368
lines changed

.github/workflows/buildpr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions: read-all
1212

1313
jobs:
1414
build_dev_branch:
15-
runs-on: ubuntu-latest
15+
runs-on: macos-latest
1616
steps:
1717
- name: Checkout PnP.Framework
1818
uses: actions/checkout@v4
@@ -53,5 +53,5 @@ jobs:
5353
run: dotnet restore -p:PnPFrameworkPath="..\..\..\pnpframework\src\lib\" -p:PnPCoreSdkPath="..\..\..\pnpcore\src\sdk\"
5454
working-directory: powershell/src
5555
- name: Build PnP.PowerShell
56-
run: dotnet build --configuration Debug --no-restore -p:PnPFrameworkPath="/home/runner/work/powershell/powershell/pnpframework/src/lib/" -p:PnPCoreSdkPath="/home/runner/work/powershell/powershell/pnpcore/src/sdk/"
56+
run: dotnet build --configuration Debug --no-restore -p:PnPFrameworkPath="/Users/runner/work/powershell/powershell/pnpframework/src/lib/" -p:PnPCoreSdkPath="/Users/runner/work/powershell/powershell/pnpcore/src/sdk/"
5757
working-directory: powershell/src

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
3030
- Added `Get-PnPTenantRestrictedSearchMode` and `Set-PnPTenantRestrictedSearchMode` cmdlets to enable and set up Restricted SharePoint Search. [#3976](https://github.com/pnp/powershell/pull/3976)
3131
- Added `Get-PnPTenantInternalSetting` cmdlet to retrieve internal tenant settings not exposed via CSOM SDK. [#3902](https://github.com/pnp/powershell/pull/3902)
3232
- Added `Add-PnPHomeSite` cmdlet to add a home site to your tenant. [#3989](https://github.com/pnp/powershell/pull/3989)
33+
- Added `Get-PnPPageSchedulingEnabled` cmdlet to get the state of the modern page schedule feature in the library. [PR](https://github.com/pnp/powershell/commit/4ac757fc2072233529b38b2b39c36ea6b941e003)
34+
- Added `-IncludeSensitivityLabels` parameter to `Get-PnPMicrosoft365Group` cmdlet to retrieve sensitivity labels assigned to M365 Groups. [#3991](https://github.com/pnp/powershell/pull/3991)
35+
- Added `Get-PnPFileSensitivityLabelInfo` cmdlet to retrieve sensitivity label information about a file in a SharePoint site. [#3994](https://github.com/pnp/powershell/pull/3994)
3336

3437
### Fixed
3538

@@ -39,15 +42,21 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
3942
- Fixed NullDereferenceException happening when an exception is logged in PnPConnectedCmdlet but the connection passed through -Connection parameter is not the last one. [#3885](https://github.com/pnp/powershell/pull/3885)
4043
- Fixed NullDereferenceException in `Get-PnPUserProfileProperty` cmdlet when the user profile doesn't exist, showing a better error message. [#3891](https://github.com/pnp/powershell/pull/3891)
4144
- Fixed the dev build process on Mac OS devices. [#3907](https://github.com/pnp/powershell/pull/3907)
45+
- Fixed `Get-PnPContainer` cmdlet to also handle pagination in case of large no. of containers in a tenant. [#3990](https://github.com/pnp/powershell/pull/3990)
46+
- Fixed `New-PnPTeamsTeam` cmdlet to better handle error specifically such as `Conflict (409): Team already exists`. [#3992](https://github.com/pnp/powershell/pull/3992)
4247

43-
## Changed
48+
### Changed
4449
- Renamed `Get-PnPSiteFileVersionExpirationReportJobProgress` to `Get-PnPSiteFileVersionExpirationReportJobStatus` [#3828](https://github.com/pnp/powershell/pull/3828)
4550
- Renamed `Get-PnPSiteVersionPolicyProgress` to `Get-PnPSiteVersionPolicyStatus` [#3828](https://github.com/pnp/powershell/pull/3828)
4651
- `Remove-PnPGroupMember` cmdlet now supports removing members from pipeline. [#3955](https://github.com/pnp/powershell/pull/3955)
4752
- Changed `Set-PnPTenantCdnPolicy` cmdlet to allow PolicyValue parameter to be an empty string or $null, while still being mandatory. [#3937](https://github.com/pnp/powershell/pull/3937)
4853
- Marked `UserVoiceForFeedbackEnabled` as obsolete in `Set-PnPTenant` cmdlet as Microsoft doesn't support this. [#3985](https://github.com/pnp/powershell/pull/3985)
4954
- `Get-PnPTenantSite` cmdlet now returns additional properties like `ArchiveStatus`, `EnableAutoExpirationVersionTrim` and many more. [#3987](https://github.com/pnp/powershell/pull/3987)
5055

56+
### Removed
57+
58+
- Removed `UserVoiceForFeedbackEnabled` property from `Get-PnPTenant` as it is deprecated. [PR](https://github.com/pnp/powershell/commit/190ef864d2e20249658eff93feadf0effb24882d)
59+
5160
### Contributors
5261

5362
- Mark Gort [markgort86]
@@ -61,6 +70,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
6170
- Giacomo Pozzoni [jackpoz]
6271
- [blarrywangmsft]
6372
- Koen Zomers [koenzomers]
73+
- Erwin van Hunen [erwinvanhunen]
6474

6575
## [2.4.0]
6676

documentation/Get-PnPContainer.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Returns one or more Containers in a SharePoint repository services application.
2020
## SYNTAX
2121

2222
```powershell
23-
Get-PnPContainer [-Identity <ContainerPipeBind>] [-OwningApplicationId <Guid>] [-Paged <switchparameter>] [-PagingToken <string>][-Connection <PnPConnection>]
23+
Get-PnPContainer [-Identity <ContainerPipeBind>] [-OwningApplicationId <Guid>] [-Paged <switchparameter>] [-PagingToken <string>][-SortOrder <SortOrder>] [-Connection <PnPConnection>]
2424
```
2525

2626
## DESCRIPTION
@@ -116,6 +116,7 @@ Accept wildcard characters: False
116116
### -PagingToken
117117
118118
Use this parameter to provide the <Paging Token> provided to view the remaining Containers as shown in Example 5. If there are no more Containers to display, the commandlet output will return the message End of Containers view. Otherwise, use the given <Paging Token> to retrieve the next batch of up to 5,000 ontainers.
119+
119120
```yaml
120121
Type: String
121122
Parameter Sets: (All)
@@ -126,6 +127,22 @@ Default value: False
126127
Accept pipeline input: False
127128
Accept wildcard characters: False
128129
```
130+
131+
### -SortOrder
132+
133+
Use this parameter to specify the sort order. The sorting will be done based on Storage used in ascending or descending order.
134+
135+
```yaml
136+
Type: SortOrder
137+
Parameter Sets: (All)
138+
139+
Required: False
140+
Position: Named
141+
Default value: None
142+
Accept pipeline input: False
143+
Accept wildcard characters: False
144+
```
145+
129146
## RELATED LINKS
130147
131148
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
Module Name: PnP.PowerShell
3+
schema: 2.0.0
4+
applicable: SharePoint Online
5+
online version: https://pnp.github.io/powershell/cmdlets/Get-PnPFileSensitivityLabelInfo.html
6+
external help file: PnP.PowerShell.dll-Help.xml
7+
title: Get-PnPFileSensitivityLabelInfo
8+
---
9+
10+
# Get-PnPFileSensitivityLabelInfo
11+
12+
## SYNOPSIS
13+
Retrieves the sensitivity label information for a file in SharePoint.
14+
15+
## SYNTAX
16+
```powershell
17+
Get-PnPFileSensitivityLabelInfo -Url <String>
18+
```
19+
20+
## DESCRIPTION
21+
22+
The Get-PnPFileSensitivityLabelInfo cmdlet retrieves the sensitivity label information for a file in SharePoint. It takes a URL as input, decodes it, and specifically encodes the '+' character if it is part of the filename.
23+
24+
## EXAMPLES
25+
26+
### Example 1
27+
This example retrieves the sensitivity label information for the file at the specified URL.
28+
29+
```powershell
30+
Get-PnPFileSensitivityLabelInfo -Url "https://contoso.sharepoint.com/sites/Marketing/Shared Documents/Report.pdf"
31+
```
32+
33+
This example retrieves the sensitivity label information for the file at the specified URL.
34+
35+
## PARAMETERS
36+
37+
### -Url
38+
Specifies the URL of the file for which to retrieve the sensitivity label information.
39+
40+
```yaml
41+
Type: String
42+
Parameter Sets: (All)
43+
44+
Required: True
45+
Position: Named
46+
Default value: None
47+
Accept pipeline input: True
48+
Accept wildcard characters: False
49+
```
50+
51+
## RELATED LINKS
52+
53+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

documentation/Get-PnPMicrosoft365Group.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gets one Microsoft 365 Group or a list of Microsoft 365 Groups
2020
## SYNTAX
2121

2222
```powershell
23-
Get-PnPMicrosoft365Group [-Identity <Microsoft365GroupPipeBind>] [-IncludeSiteUrl] [-IncludeOwners] [-Detailed] [-Filter <string>]
23+
Get-PnPMicrosoft365Group [-Identity <Microsoft365GroupPipeBind>] [-IncludeSiteUrl] [-IncludeOwners] [-Detailed] [-Filter <string>] [-IncludeSensitivityLabels]
2424
```
2525

2626
## DESCRIPTION
@@ -162,6 +162,21 @@ Accept pipeline input: False
162162
Accept wildcard characters: False
163163
```
164164
165+
### -IncludeSensitivityLabels
166+
167+
Include fetching the sensitivity labels. This slows down large listings.
168+
169+
```yaml
170+
Type: SwitchParameter
171+
Parameter Sets: (All)
172+
173+
Required: False
174+
Position: Named
175+
Default value: None
176+
Accept pipeline input: False
177+
Accept wildcard characters: False
178+
```
179+
165180
## RELATED LINKS
166181
167182
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

pnpframework_hash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4cabc7d49909233464a409b9d3d0531006e7459d
1+
b6dd75d968529d81a8cf453360fae779fb778c2a

pnppowershell_hash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
045df5dd8721a7e8c18e046954338699858a8820
1+
3fffc4be7df0e84b3cc1ce243b253d98270c4e41

0 commit comments

Comments
 (0)