Skip to content

Commit 8ce82b1

Browse files
committed
Merge branch 'Get-PnPFileCheckedOut' of https://github.com/KoenZomers/pnppowershell into Get-PnPFileCheckedOut
2 parents b1ace2f + 4461a9d commit 8ce82b1

13 files changed

+5510
-5300
lines changed

.github/workflows/checkdocumentationbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
dotnet-version: 7.x
3434

35-
- run: dotnet tool update -g docfx
35+
- run: dotnet tool install -g docfx --version 2.72.1
3636

3737
- name: Build docs
3838
shell: pwsh

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
5151
- Added `Get/Set/Remove-PnPUserProfilePhoto` cmdlets to download, upload or remove the profile photo of the specified user.
5252
- Added `New/Get/Remove/Update-PnPTodoList` cmdlets to manage Todo lists.
5353
- Added `Get-PnPFileCheckedOut` cmdlet to retrieve all files that are currently checked out in a library [#4682](https://github.com/pnp/powershell/pull/4682)
54+
- Added `Get-PnPTenantPronounsSetting` and `Set-PnPTenantPronounsSetting` cmdlets to manage the availability of using pronouns in the organization [#4660](https://github.com/pnp/powershell/pull/4660)
5455

5556
### Changed
5657

@@ -126,6 +127,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
126127

127128
### Contributors
128129

130+
- Marijn Somers [Marijnsomers]
129131
- Janne Holm [jhholm]
130132
- Paul Bullock [pkbullock]
131133
- Arjan Cornelissen [arjancornelissen]

dependencies.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"Updated": "20250113-024712",
3-
"PnPPowerShell": "9e142398f12a64d54242f0dd6d11a3d38dcedd2c",
4-
"PnPFramework": "21a5ad1d813f253fa0413ddaf11929086e42f1d3",
5-
"PnPCore": "3436829ef534d5b40ef8d01c8e19d5165416de98"
2+
"Updated": "20250114-024326",
3+
"PnPPowerShell": "0be6ca0aa449dcb8a1940521ca93bf1e83cf6490",
4+
"PnPFramework": "7f7ee03fecbff983d648ed2c9e35349991e7c982",
5+
"PnPCore": "c978a3596672bcb92ce7cbbe2fdfa5ce6f7247f6"
66
}

documentation/Add-PnPOrgAssetsLibrary.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,14 @@ Accept wildcard characters: False
131131
```
132132
133133
### -OrgAssetType
134-
Indicates the type of content in this library. Currently supported values are "ImageDocumentLibrary" and "OfficeTemplateLibrary".
134+
Indicates the type of content in this library.
135135
136136
ImageDocumentLibrary is the default OrgAssetType and is best used for images. You can access the contents of this library from any site or page in the SharePoint filepicker. OfficeTemplateLibrary is the suggested type for Office files and will show up in the UI of all Office desktop apps and Office online in the templates section.
137137
138138
```yaml
139139
Type: OrgAssetType
140140
Parameter Sets: (All)
141-
Accepted values: ImageDocumentLibrary, OfficeTemplateLibrary
141+
Accepted values: ImageDocumentLibrary, OfficeTemplateLibrary, BrandColorsList, BrandFontsLibrary, BrandKitLibrary, OfficeFontLibrary, Undefined
142142

143143
Required: False
144144
Position: Named
@@ -163,4 +163,4 @@ Accept wildcard characters: False
163163
164164
## RELATED LINKS
165165
166-
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
166+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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-PnPTenantPronounsSetting.html
6+
external help file: PnP.PowerShell.dll-Help.xml
7+
title: Get-PnPTenantPronounsSetting
8+
---
9+
10+
# Get-PnPTenantPronounsSetting
11+
12+
## SYNOPSIS
13+
14+
**Required Permissions**
15+
16+
* Microsoft Graph API : One of PeopleSettings.Read.All, PeopleSettings.ReadWrite.All
17+
18+
Retrieve the current setting for the availability of using pronouns in the organization
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Get-PnPTenantPronounsSetting [-Connection <PnPConnection>]
24+
```
25+
26+
## DESCRIPTION
27+
28+
This cmdlet can be used to retrieve tenant wide pronounsSettings properties.
29+
30+
## EXAMPLES
31+
32+
### EXAMPLE 1
33+
```powershell
34+
Get-PnPTenantPronounsSetting
35+
```
36+
37+
Retrieves the tenant-wide pronouns settings
38+
39+
## PARAMETERS
40+
41+
### -Connection
42+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing [Get-PnPConnection](Get-PnPConnection.md).
43+
44+
```yaml
45+
Type: PnPConnection
46+
Parameter Sets: (All)
47+
Required: False
48+
Position: Named
49+
Default value: None
50+
Accept pipeline input: False
51+
Accept wildcard characters: False
52+
```
53+
54+
## RELATED LINKS
55+
56+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
57+
[Microsoft Graph documentation](https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns)
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
Module Name: PnP.PowerShell
3+
schema: 2.0.0
4+
applicable: SharePoint Online
5+
online version: https://pnp.github.io/powershell/cmdlets/Set-PnPTenantPronounsSetting.html
6+
external help file: PnP.PowerShell.dll-Help.xml
7+
title: Set-PnPTenantPronounsSetting
8+
---
9+
10+
# Set-PnPTenantPronounsSetting
11+
12+
## SYNOPSIS
13+
14+
**Required Permissions**
15+
16+
* Microsoft Graph API : PeopleSettings.ReadWrite.All
17+
18+
Allows allowing configuring the tenant-wide pronouns settings
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Set-PnPTenantPronounsSetting [-Connection <PnPConnection>]
24+
```
25+
26+
## DESCRIPTION
27+
28+
Allows allowing or disallowing users configuring their own desired pronouns in their user profile.
29+
30+
## EXAMPLES
31+
32+
### EXAMPLE 1
33+
```powershell
34+
Set-PnPTenantPronounsSetting -IsEnabledInOrganization:$true
35+
```
36+
37+
Enables allowing users to configure their own desired pronouns in their user profile.
38+
39+
### EXAMPLE 2
40+
```powershell
41+
Set-PnPTenantPronounsSetting -IsEnabledInOrganization:$false
42+
```
43+
44+
Disables users from configuring their own desired pronouns in their user profile.
45+
46+
## PARAMETERS
47+
48+
### -Connection
49+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing [Get-PnPConnection](Get-PnPConnection.md).
50+
51+
```yaml
52+
Type: PnPConnection
53+
Parameter Sets: (All)
54+
Required: False
55+
Position: Named
56+
Default value: None
57+
Accept pipeline input: False
58+
Accept wildcard characters: False
59+
```
60+
61+
### -IsEnabledInOrganization
62+
Provide $true to allow end users to set their desired pronounce, provide $false to prevent end users from setting their desired pronouns.
63+
64+
```yaml
65+
Type: PnPConnection
66+
Parameter Sets: (All)
67+
Required: True
68+
Position: Named
69+
Default value: None
70+
Accept pipeline input: False
71+
Accept wildcard characters: False
72+
```
73+
74+
## RELATED LINKS
75+
76+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
77+
[Microsoft Graph documentation](https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns)

0 commit comments

Comments
 (0)