Skip to content

Commit fc683c8

Browse files
Merge pull request #531 from pnp/dev
Release 1.5
2 parents 17196cc + 389d93f commit fc683c8

File tree

53 files changed

+2053
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2053
-55
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,28 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
77

88
## [Current Nightly]
99

10+
### Added
11+
12+
## [1.5.0]
13+
14+
### Added
15+
16+
- Added `Request-PnPSyntexClassifyAndExtract` cmdlet to request classification and extraction of a file or all files in a list
17+
- Added `Get-PnPSyntexModel` cmdlet to list the defined SharePoint Syntex models in a SharePoint Syntex content center site
18+
- Added `Publish-PnPSyntexModel` cmdlet to publish a SharePoint Syntex model to a library
19+
- Added `Unpublish-PnPSyntexModel` cmdlet to unpublish a SharePoint Syntex model from a library
20+
- Added `Get-PnPSyntexModelPublication` cmdlet to list the libraries to which a SharePoint Syntex model was published
21+
22+
### Changed
23+
24+
### Contributors
25+
- Bert Jansen [jansenbe]
26+
- Koen Zomers [koenzomers]
27+
- Gautam Sheth [gautamdsheth]
28+
- Veronique Lengelle [veronicageek]
29+
30+
## [1.4.0]
31+
1032
### Added
1133
- Added `-IncludeOwners` to `Get-PnPMicrosoft365Group`.
1234
- Added `-AssignedTo` to `Add-PnPPlannerTask` and `Set-PnPPlannerTask` allowing you to assign users to a task.

documentation/Add-PnPTeamsTab.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ title: Add-PnPTeamsTab
1515

1616
* Microsoft Graph API: Group.ReadWrite.All
1717

18-
Adds a tab to an existing Channel
18+
Adds a tab to an existing Channel. Note that the `-ContentUrl` is a 'dynamic' parameter and will only be valid for tab types that support it.
1919

2020
## SYNTAX
2121

@@ -30,7 +30,7 @@ Add-PnPTeamsTab -Team <TeamsTeamPipeBind> -Channel <TeamsChannelPipeBind> -Displ
3030

3131
### EXAMPLE 1
3232
```powershell
33-
Add-PnPTeamsTab -Team "My Team" -Channel "My Channel" -DisplayName "My Channel" -Type WebSite -ContentUrl "https://aka.ms/m365pnp
33+
Add-PnPTeamsTab -Team "My Team" -Channel "My Channel" -DisplayName "My Tab Name" -Type WebSite -ContentUrl "https://aka.ms/m365pnp"
3434
```
3535

3636
Adds a web site tab to the specified channel.
@@ -52,7 +52,7 @@ Accept wildcard characters: False
5252
```
5353
5454
### -ContentUrl
55-
Specifies the title of the new site collection
55+
Specifies the Url to add
5656
5757
```yaml
5858
Type: String

documentation/Get-PnPSubscribeSharePointNewsDigest.md

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

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

18-
You must connect to the tenant admin website (https://:<tenant>-admin.sharepoint.com) with Connect-PnPOnline in order to use this cmdlet.
18+
You must connect to the tenant admin website (https://tenant-admin.sharepoint.com) with Connect-PnPOnline in order to use this cmdlet.
1919

2020
Retrieves if the SharePoint News Digest mails are enabled or disabled for a particular user.
2121

@@ -42,7 +42,7 @@ Returns if this user will receive the SharePoint News digest mails
4242
## PARAMETERS
4343

4444
### -Account
45-
The account of the user, formatted either as a login name, or as a claims identity, e.g. i:0#.f|membership|[email protected]
45+
The account of the user, formatted either as a login name, e.g. [email protected], or as a claims identity, e.g. i:0#.f|membership|[email protected]
4646

4747
```yaml
4848
Type: String
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
Module Name: PnP.PowerShell
3+
title: Get-PnPSyntexModel
4+
schema: 2.0.0
5+
applicable: SharePoint Online
6+
external help file: PnP.PowerShell.dll-Help.xml
7+
online version: https://pnp.github.io/powershell/cmdlets/Get-PnPPage.html
8+
---
9+
10+
# Get-PnPSyntexModel
11+
12+
## SYNOPSIS
13+
Returns SharePoint Syntex models from a SharePoint Syntex Content Center.
14+
15+
This cmdlet only works when you've connected to a SharePoint Syntex Content Center site.
16+
17+
## SYNTAX
18+
19+
```powershell
20+
Get-PnPSyntexModel [-Identity] <SyntexModelPipeBind> [-Connection <PnPConnection>]
21+
[<CommonParameters>]
22+
```
23+
24+
## DESCRIPTION
25+
This command allows the retrieval of a SharePoint Syntex content understanding models defined in the connected SharePoint Syntex Content Center site.
26+
27+
## EXAMPLES
28+
29+
### EXAMPLE 1
30+
```powershell
31+
Get-PnPSyntexModel
32+
```
33+
34+
Lists all the content understanding models in the connected SharePoint Syntex Content Center site.
35+
36+
### EXAMPLE 2
37+
```powershell
38+
Get-PnPSyntexModel -Identity 1
39+
```
40+
41+
Gets the content understanding model with id 1.
42+
43+
### EXAMPLE 3
44+
```powershell
45+
Get-PnPSyntexModel -Identity "Invoice model"
46+
```
47+
48+
Gets the content understanding model named "Invoice model".
49+
50+
## PARAMETERS
51+
52+
### -Connection
53+
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.
54+
55+
```yaml
56+
Type: PnPConnection
57+
Parameter Sets: (All)
58+
59+
Required: False
60+
Position: Named
61+
Default value: None
62+
Accept pipeline input: False
63+
Accept wildcard characters: False
64+
```
65+
66+
### -Identity
67+
The name or id of the SharePoint Syntex model.
68+
69+
```yaml
70+
Type: SyntexModelPipeBind
71+
Parameter Sets: (All)
72+
73+
Required: True
74+
Position: 0
75+
Default value: None
76+
Accept pipeline input: True (ByValue)
77+
Accept wildcard characters: False
78+
```
79+
80+
81+
82+
## RELATED LINKS
83+
84+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
85+
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
Module Name: PnP.PowerShell
3+
title: Get-PnPSyntexModelPublication
4+
schema: 2.0.0
5+
applicable: SharePoint Online
6+
external help file: PnP.PowerShell.dll-Help.xml
7+
online version: https://pnp.github.io/powershell/cmdlets/Get-PnPPage.html
8+
---
9+
10+
# Get-PnPSyntexModelPublication
11+
12+
## SYNOPSIS
13+
Returns the libraries to which a SharePoint Syntex model was published.
14+
15+
This cmdlet only works when you've connected to a SharePoint Syntex Content Center site.
16+
17+
## SYNTAX
18+
19+
```powershell
20+
Get-PnPSyntexModelPublications -Model <SyntexModelPipeBind> [-Connection <PnPConnection>]
21+
[<CommonParameters>]
22+
```
23+
24+
## DESCRIPTION
25+
This command returns the libraries to which a SharePoint Syntex content understanding model defined in the connected SharePoint Syntex Content Center site was published.
26+
27+
## EXAMPLES
28+
29+
### EXAMPLE 1
30+
```powershell
31+
Get-PnPSyntexModelPublication -Identity "Invoice model"
32+
```
33+
34+
Gets the libraries to which the content understanding model named "Invoice model" was published.
35+
36+
## PARAMETERS
37+
38+
### -Connection
39+
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.
40+
41+
```yaml
42+
Type: PnPConnection
43+
Parameter Sets: (All)
44+
45+
Required: False
46+
Position: Named
47+
Default value: None
48+
Accept pipeline input: False
49+
Accept wildcard characters: False
50+
```
51+
52+
### -Model
53+
The name or id of the SharePoint Syntex model.
54+
55+
```yaml
56+
Type: SyntexModelPipeBind
57+
Parameter Sets: (All)
58+
59+
Required: True
60+
Position: 0
61+
Default value: None
62+
Accept pipeline input: True (ByValue)
63+
Accept wildcard characters: False
64+
```
65+
66+
67+
68+
## RELATED LINKS
69+
70+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
71+

documentation/New-PnPSite.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ New-PnPSite -Type CommunicationSite -Title <String> -Url <String> [-HubSiteId <G
2626
```
2727

2828
## DESCRIPTION
29-
The New-PnPSite cmdlet creates a new site collection for the current tenant. Currently only 'modern' sites like Communication Site and the Modern Microsoft 365 group-connected team sites are supported. If you want to create a classic site, use New-PnPTenantSite.
29+
The New-PnPSite cmdlet creates a new site collection for the current tenant. Currently only 'modern' sites like Communication Site and the Modern Microsoft 365 group-connected team sites 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.
3030

3131
## EXAMPLES
3232

@@ -70,7 +70,7 @@ This will create a new Communications Site collection with the title 'Contoso' a
7070
New-PnPSite -Type CommunicationSite -Title Contoso -Url https://tenant.sharepoint.com/sites/contoso -Lcid 1040
7171
```
7272

73-
This will create a new Communications Site collection with the title 'Contoso' and the url 'https://tenant.sharepoint.com/sites/contoso' and sets the default language to Italian.
73+
This will create a new Communications Site collection with the title 'Contoso' and the url 'https://tenant.sharepoint.com/sites/contoso' and sets the default language to Italian (LCID 1040).
7474

7575
### EXAMPLE 7
7676
```powershell

documentation/New-PnPTeamsTeam.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/New-PnPTeamsTeam.html
1515

1616
* Microsoft Graph API: Group.ReadWrite.All
1717

18-
Creates a new Team in Microsoft Teams. The cmdlet will create a Microsoft 365 group and then add a team to the group.
18+
Creates a new team in Microsoft Teams or teamifies 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. If it does already exist, it will use the provided Microsoft 365 Group and just teamify it by adding a Microsoft Teams team to it.
1919

2020
## SYNTAX
2121

@@ -55,14 +55,14 @@ New-PnPTeamsTeam -DisplayName <String> [-MailNickName <String>] [-Description <S
5555
New-PnPTeamsTeam -DisplayName "myPnPDemo1" -Visibility Private -AllowCreateUpdateRemoveTabs $false -AllowUserDeleteMessages $false
5656
```
5757

58-
This will create a newTeam called "myPnPDemo1" and sets the privacy to Private, as we well as preventing users from deleting their messages or update/remove tabs. The user creating the Team will be added as Owner.
58+
This will create a new Microsoft Teams team called "myPnPDemo1" and sets the privacy to Private, as well as preventing users from deleting their messages or update/remove tabs. The user creating the Microsoft Teams team will be added as Owner.
5959

6060
### EXAMPLE 2
6161
```powershell
6262
New-PnPTeamsTeam -GroupId $groupId
6363
```
6464

65-
This will create a new Team from a Microsoft 365 Group using the Group ID
65+
This will create a new Microsoft Teams team from an existing Microsoft 365 Group using the Group ID (teamify)
6666

6767
## PARAMETERS
6868

0 commit comments

Comments
 (0)