Skip to content

Commit a1f1f94

Browse files
Merge branch 'dev' into New-Command-GetLikedByInfo
2 parents fc5673e + b7c3db3 commit a1f1f94

16 files changed

+3381
-3333
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
4343
- Fixed `Enable/Disable-PnPPageScheduling` cmdlet to also work with Viva connections enabled site. [#3713](https://github.com/pnp/powershell/pull/3713)
4444
- Fixed `Register-PnPManagementShellAccess` and `Register-PnPAzureADApp` cmdlets to also work with custom environment. [#3763](https://github.com/pnp/powershell/pull/3763)
4545
- Fixed `Set-PnPPPage` cmdlet to only change layout of the page if the parameter is specified. [#3777](https://github.com/pnp/powershell/pull/3777)
46+
- Fixed `New-PnPGroup` cmdlet to correctly show the group description with HTML making it similar to `Set-PnPGroup`.
4647

4748
### Changed
4849

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

5354
### Contributors
5455

56+
- Arleta Wanat [PowershellScripts]
5557
- Jenny Wu [msjennywu]
5658
- Aimery Thomas [a1mery]
5759
- Nils Andresen [nils-a]

documentation/Rename-PnPTenantSite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Specifies the full URL of the SharePoint Online site collection to which it need
7272
Type: String
7373
Parameter Sets: (All)
7474

75-
Required: False
75+
Required: True
7676
Position: Named
7777
Default value: None
7878
Accept pipeline input: False

documentation/Set-PnPWikiPageContent.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ online version: https://pnp.github.io/powershell/cmdlets/Set-PnPWikiPageContent.
1010
# Set-PnPWikiPageContent
1111

1212
## SYNOPSIS
13-
Sets the contents of a wikipage
13+
Sets the contents of a wiki page.
1414

1515
## SYNTAX
1616

@@ -27,7 +27,7 @@ Set-PnPWikiPageContent -Path <String> -ServerRelativePageUrl <String>
2727
```
2828

2929
## DESCRIPTION
30-
This cmdlet updates the content of the specified wikipage to the value specified either in a string or a file.
30+
This cmdlet updates the content of the specified wiki page to the value specified either in a string or a file.
3131

3232
## EXAMPLES
3333

@@ -42,8 +42,7 @@ Sets the content of OurWikiPage to the content of sampleblog.html file.
4242
$htmlContent = "<div>test</div>"
4343
Set-PnPWikiPageContent -ServerRelativePageUrl /sites/PnPWikiCollection/SitePages/OurWikiPage.aspx -Content $htmlContent
4444
```
45-
46-
Sets the content of OurWikiPage as "test".
45+
Sets the content of OurWikiPage as "test". The existing content of the wiki page will be replaced with the new content provided.
4746

4847
## PARAMETERS
4948

@@ -62,7 +61,7 @@ Accept wildcard characters: False
6261
```
6362
6463
### -Content
65-
64+
HTML markup that represents the desired content of the wiki page. The HTML markup can include text, images, links, tables, formatting elements, and any other HTML elements supported by SharePoint's wiki pages.
6665
```yaml
6766
Type: String
6867
Parameter Sets: STRING
@@ -75,6 +74,7 @@ Accept wildcard characters: False
7574
```
7675
7776
### -Path
77+
The local file path of the HTML file containing the content for the wiki page.
7878
7979
```yaml
8080
Type: String
@@ -88,7 +88,7 @@ Accept wildcard characters: False
8888
```
8989
9090
### -ServerRelativePageUrl
91-
Site Relative Page Url
91+
The server-relative URL of the wiki page whose content should be updated.
9292
9393
```yaml
9494
Type: String

documentation/Set-PnpTeamsChannelUser.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Updates the role of a user in an existing Microsoft Teams private channel.
2020
## SYNTAX
2121

2222
```powershell
23-
Set-PnPTeamsChannelUser -Team <TeamsTeamPipeBind> -Channel <TeamsChannelPipeBind> -Identity <TeamsChannelMemberPipeBind> -Role <String>
23+
Set-PnPTeamsChannelUser -Team <TeamsTeamPipeBind> -Channel <TeamsChannelPipeBind> -Identity <TeamsChannelMemberPipeBind> -Role <String> [-Connection <PnPConnection>]
2424
```
2525

2626
## DESCRIPTION
@@ -33,18 +33,30 @@ Allows to update the role of a user in an existing Microsoft Teams private chann
3333
```powershell
3434
Set-PnPTeamsChannelUser -Team 4efdf392-8225-4763-9e7f-4edeb7f721aa -Channel "19:796d063b63e34497aeaf092c8fb9b44e@thread.skype" -Identity MCMjMiMjMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIyMxOTowMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMEB0aHJlYWQuc2t5cGUjIzAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMA== -Role Owner
3535
```
36-
3736
Updates the user with specific membership ID as owner of the specified Teams private channel.
3837

3938
### EXAMPLE 2
4039
```powershell
4140
Set-PnPTeamsChannelUser -Team "My Team" -Channel "My Private Channel" -Identity john@doe.com -Role Member
4241
```
43-
4442
Updates the user john@doe.com as member of the specified Teams private channel.
4543

4644
## PARAMETERS
4745

46+
### -Connection
47+
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.
48+
49+
```yaml
50+
Type: PnPConnection
51+
Parameter Sets: (All)
52+
53+
Required: False
54+
Position: Named
55+
Default value: None
56+
Accept pipeline input: False
57+
Accept wildcard characters: False
58+
```
59+
4860
### -Team
4961
Specify the group id, mailNickname or display name of the team to use.
5062
@@ -88,7 +100,7 @@ Accept wildcard characters: False
88100
```
89101
90102
### -Role
91-
Specify the role of the user
103+
Specify the role of the user.
92104
93105
```yaml
94106
Type: String
@@ -104,4 +116,4 @@ Accept wildcard characters: False
104116
105117
## RELATED LINKS
106118
107-
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
119+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

documentation/Stop-PnPFlowRun.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Stops/cancels a specific run of a Microsoft flow.
1919
## SYNTAX
2020

2121
```powershell
22-
Stop-PnPFlowRun -Environment <PowerAutomateEnvironmentPipeBind> -Flow <PowerAutomateFlowPipeBind> -Identity <PowerAutomateFlowRunPipeBind> [-Force]
22+
Stop-PnPFlowRun -Environment <PowerAutomateEnvironmentPipeBind> -Flow <PowerAutomateFlowPipeBind> -Identity <PowerAutomateFlowRunPipeBind> [-Force] [-Connection <PnPConnection>]
2323
```
2424

2525
## DESCRIPTION
@@ -32,18 +32,32 @@ This cmdlet cancels a running Power Automate flow run.
3232
$environment = Get-PnPPowerPlatformEnvironment
3333
Stop-PnPFlowRun -Environment $environment -Flow fba63225-baf9-4d76-86a1-1b42c917a182 -Identity 08585531682024670884771461819CU230
3434
```
35-
This cancels the specified flow run of the specified flow
35+
This cancels the specified flow run of the specified flow.
3636

3737

3838
### Example 2
3939
```powershell
4040
$environment = Get-PnPPowerPlatformEnvironment
4141
Stop-PnPFlowRun -Environment $environment -Flow fba63225-baf9-4d76-86a1-1b42c917a182 -Identity 08585531682024670884771461819CU230 -Force
4242
```
43-
This cancels the specified flow run of the specified flow without confirmation
43+
This cancels the specified flow run of the specified flow without confirmation.
4444

4545
## PARAMETERS
4646

47+
### -Connection
48+
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.
49+
50+
```yaml
51+
Type: PnPConnection
52+
Parameter Sets: (All)
53+
54+
Required: False
55+
Position: Named
56+
Default value: None
57+
Accept pipeline input: False
58+
Accept wildcard characters: False
59+
```
60+
4761
### -Environment
4862
The name of the Power Platform environment or an Environment object to retrieve the available flows for.
4963

documentation/Sync-PnPAppToTeams.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ online version: https://pnp.github.io/powershell/cmdlets/Sync-PnPAppToTeams.html
1010
# Sync-PnPAppToTeams
1111

1212
## SYNOPSIS
13-
Synchronize an app from the tenant app catalog to the Microsoft Teams app catalog
13+
Synchronize an app from the tenant app catalog to the Microsoft Teams app catalog.
1414

1515
## SYNTAX
1616

@@ -20,7 +20,7 @@ Sync-PnPAppToTeams [-Identity] <AppMetadataPipeBind> [-Connection <PnPConnection
2020

2121
## DESCRIPTION
2222

23-
Allows to Synchronize an app from the tenant app catalog to the Microsoft Teams app catalog.
23+
Allows to synchronize an app from the tenant app catalog to the Microsoft Teams app catalog.
2424

2525
## EXAMPLES
2626

@@ -29,7 +29,7 @@ Allows to Synchronize an app from the tenant app catalog to the Microsoft Teams
2929
Sync-PnPAppToTeams -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe
3030
```
3131

32-
This will synchronize the given app with the Microsoft Teams app catalog
32+
This will synchronize the given app with the Microsoft Teams app catalog.
3333

3434
## PARAMETERS
3535

@@ -48,7 +48,7 @@ Accept wildcard characters: False
4848
```
4949
5050
### -Identity
51-
Specifies the Id of the Add-In Instance
51+
Specifies the Id of the Add-In Instance.
5252
5353
```yaml
5454
Type: AppMetadataPipeBind

documentation/Test-PnPSite.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Checks the site collection and its contents.
2020
## SYNTAX
2121

2222
```powershell
23-
Test-PnPSite -Identity <SitePipeBind> [-RuleId <Guid>]
23+
Test-PnPSite -Identity <SitePipeBind> [-RuleId <Guid>] [-Connection <PnPConnection>]
2424
```
2525

2626
## DESCRIPTION
@@ -45,6 +45,20 @@ This example runs the Missing Galleries Check rule in test mode on the https://c
4545

4646
## PARAMETERS
4747

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.
50+
51+
```yaml
52+
Type: PnPConnection
53+
Parameter Sets: (All)
54+
55+
Required: False
56+
Position: Named
57+
Default value: None
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
4862
### -Identity
4963
Specifies the SharePoint Online site collection on which to run the repairs.
5064

documentation/Test-PnPTenantTemplate.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ online version: https://pnp.github.io/powershell/cmdlets/Test-PnPTenantTemplate.
1010
# Test-PnPTenantTemplate
1111

1212
## SYNOPSIS
13-
Tests a tenant template for invalid references
13+
Tests a tenant template for invalid references.
1414

1515
## SYNTAX
1616

1717
```powershell
1818
Test-PnPTenantTemplate -Template <ProvisioningHierarchy> [-Connection <PnPConnection>]
19-
2019
```
2120

2221
## DESCRIPTION
@@ -30,7 +29,7 @@ Allows to check if the tenant template has invalid references.
3029
Test-PnPTenantTemplate -Template $myTemplate
3130
```
3231

33-
Checks for valid template references
32+
Checks for valid template references.
3433

3534
## PARAMETERS
3635

@@ -49,7 +48,7 @@ Accept wildcard characters: False
4948
```
5049
5150
### -Template
52-
The in-memory template to test
51+
The in-memory template to test.
5352
5453
```yaml
5554
Type: ProvisioningHierarchy
@@ -62,21 +61,6 @@ Accept pipeline input: False
6261
Accept wildcard characters: False
6362
```
6463
65-
### -WhatIf
66-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
67-
68-
```yaml
69-
Type: SwitchParameter
70-
Parameter Sets: (All)
71-
Aliases: wi
72-
73-
Required: False
74-
Position: Named
75-
Default value: None
76-
Accept pipeline input: False
77-
Accept wildcard characters: False
78-
```
79-
8064
## RELATED LINKS
8165
8266
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

documentation/Unpublish-PnPApp.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ online version: https://pnp.github.io/powershell/cmdlets/Unpublish-PnPApp.html
1010
# Unpublish-PnPApp
1111

1212
## SYNOPSIS
13-
Unpublishes/retracts an available add-in from the app catalog
13+
Unpublishes/retracts an available add-in from the app catalog.
1414

1515
## SYNTAX
1616

@@ -21,7 +21,7 @@ Unpublish-PnPApp [-Identity] <AppMetadataPipeBind> [-Scope <AppCatalogScope>] [-
2121

2222
## DESCRIPTION
2323

24-
Allows to unpublish an available add-in from the site.
24+
Allows to unpublish an available add-in from the site collection app catalog or tenant app catalog.
2525

2626
## EXAMPLES
2727

@@ -30,14 +30,14 @@ Allows to unpublish an available add-in from the site.
3030
Unpublish-PnPApp -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe
3131
```
3232

33-
This will retract, but not remove, the specified app from the tenant app catalog
33+
This will retract, but not remove, the specified app from the tenant app catalog.
3434

3535
### EXAMPLE 2
3636
```powershell
3737
Unpublish-PnPApp -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe -Scope Site
3838
```
3939

40-
This will retract, but not remove, the specified app from the site collection app catalog
40+
This will retract, but not remove, the specified app from the site collection app catalog.
4141

4242
## PARAMETERS
4343

@@ -56,7 +56,7 @@ Accept wildcard characters: False
5656
```
5757
5858
### -Identity
59-
Specifies the Id of the Addin Instance
59+
Specifies the Id of the Addin Instance.
6060
6161
```yaml
6262
Type: AppMetadataPipeBind
@@ -70,7 +70,7 @@ Accept wildcard characters: False
7070
```
7171
7272
### -Scope
73-
Defines which app catalog to use. Defaults to Tenant
73+
Defines which app catalog to use. Defaults to Tenant.
7474
7575
```yaml
7676
Type: AppCatalogScope

documentation/Unregister-PnPHubSite.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ online version: https://pnp.github.io/powershell/cmdlets/Unregister-PnPHubSite.h
1515

1616
* SharePoint: Access to the SharePoint Tenant Administration site
1717

18-
Unregister a site as a hubsite
18+
Unregister a site as a hubsite.
1919

2020
## SYNTAX
2121

@@ -34,7 +34,7 @@ Allows to unregister a site as a hubsite.
3434
Unregister-PnPHubSite -Site "https://tenant.sharepoint.com/sites/myhubsite"
3535
```
3636

37-
This example unregister the specified site as a hubsite
37+
This example unregisters the specified site as a hubsite.
3838

3939
## PARAMETERS
4040

@@ -53,7 +53,7 @@ Accept wildcard characters: False
5353
```
5454
5555
### -Site
56-
The site to unregister as a hubsite
56+
The site to unregister as a hubsite.
5757
5858
```yaml
5959
Type: SitePipeBind

0 commit comments

Comments
 (0)