Skip to content

Commit

Permalink
Merge pull request #531 from pnp/dev
Browse files Browse the repository at this point in the history
Release 1.5
  • Loading branch information
erwinvanhunen authored Apr 1, 2021
2 parents 17196cc + 389d93f commit fc683c8
Show file tree
Hide file tree
Showing 53 changed files with 2,053 additions and 55 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,28 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [Current Nightly]

### Added

## [1.5.0]

### Added

- Added `Request-PnPSyntexClassifyAndExtract` cmdlet to request classification and extraction of a file or all files in a list
- Added `Get-PnPSyntexModel` cmdlet to list the defined SharePoint Syntex models in a SharePoint Syntex content center site
- Added `Publish-PnPSyntexModel` cmdlet to publish a SharePoint Syntex model to a library
- Added `Unpublish-PnPSyntexModel` cmdlet to unpublish a SharePoint Syntex model from a library
- Added `Get-PnPSyntexModelPublication` cmdlet to list the libraries to which a SharePoint Syntex model was published

### Changed

### Contributors
- Bert Jansen [jansenbe]
- Koen Zomers [koenzomers]
- Gautam Sheth [gautamdsheth]
- Veronique Lengelle [veronicageek]

## [1.4.0]

### Added
- Added `-IncludeOwners` to `Get-PnPMicrosoft365Group`.
- Added `-AssignedTo` to `Add-PnPPlannerTask` and `Set-PnPPlannerTask` allowing you to assign users to a task.
Expand Down
6 changes: 3 additions & 3 deletions documentation/Add-PnPTeamsTab.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ title: Add-PnPTeamsTab

* Microsoft Graph API: Group.ReadWrite.All

Adds a tab to an existing Channel
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.

## SYNTAX

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

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

Adds a web site tab to the specified channel.
Expand All @@ -52,7 +52,7 @@ Accept wildcard characters: False
```
### -ContentUrl
Specifies the title of the new site collection
Specifies the Url to add
```yaml
Type: String
Expand Down
4 changes: 2 additions & 2 deletions documentation/Get-PnPSubscribeSharePointNewsDigest.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ online version: https://pnp.github.io/powershell/cmdlets/Get-PnPSubscribeSharePo

* SharePoint: Access to the SharePoint Tenant Administration site

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

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

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

### -Account
The account of the user, formatted either as a login name, or as a claims identity, e.g. i:0#.f|membership|[email protected]
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]

```yaml
Type: String
Expand Down
85 changes: 85 additions & 0 deletions documentation/Get-PnPSyntexModel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
Module Name: PnP.PowerShell
title: Get-PnPSyntexModel
schema: 2.0.0
applicable: SharePoint Online
external help file: PnP.PowerShell.dll-Help.xml
online version: https://pnp.github.io/powershell/cmdlets/Get-PnPPage.html
---

# Get-PnPSyntexModel

## SYNOPSIS
Returns SharePoint Syntex models from a SharePoint Syntex Content Center.

This cmdlet only works when you've connected to a SharePoint Syntex Content Center site.

## SYNTAX

```powershell
Get-PnPSyntexModel [-Identity] <SyntexModelPipeBind> [-Connection <PnPConnection>]
[<CommonParameters>]
```

## DESCRIPTION
This command allows the retrieval of a SharePoint Syntex content understanding models defined in the connected SharePoint Syntex Content Center site.

## EXAMPLES

### EXAMPLE 1
```powershell
Get-PnPSyntexModel
```

Lists all the content understanding models in the connected SharePoint Syntex Content Center site.

### EXAMPLE 2
```powershell
Get-PnPSyntexModel -Identity 1
```

Gets the content understanding model with id 1.

### EXAMPLE 3
```powershell
Get-PnPSyntexModel -Identity "Invoice model"
```

Gets the content understanding model named "Invoice model".

## PARAMETERS

### -Connection
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.

```yaml
Type: PnPConnection
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Identity
The name or id of the SharePoint Syntex model.
```yaml
Type: SyntexModelPipeBind
Parameter Sets: (All)

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
## RELATED LINKS
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
71 changes: 71 additions & 0 deletions documentation/Get-PnPSyntexModelPublication.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
Module Name: PnP.PowerShell
title: Get-PnPSyntexModelPublication
schema: 2.0.0
applicable: SharePoint Online
external help file: PnP.PowerShell.dll-Help.xml
online version: https://pnp.github.io/powershell/cmdlets/Get-PnPPage.html
---

# Get-PnPSyntexModelPublication

## SYNOPSIS
Returns the libraries to which a SharePoint Syntex model was published.

This cmdlet only works when you've connected to a SharePoint Syntex Content Center site.

## SYNTAX

```powershell
Get-PnPSyntexModelPublications -Model <SyntexModelPipeBind> [-Connection <PnPConnection>]
[<CommonParameters>]
```

## DESCRIPTION
This command returns the libraries to which a SharePoint Syntex content understanding model defined in the connected SharePoint Syntex Content Center site was published.

## EXAMPLES

### EXAMPLE 1
```powershell
Get-PnPSyntexModelPublication -Identity "Invoice model"
```

Gets the libraries to which the content understanding model named "Invoice model" was published.

## PARAMETERS

### -Connection
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.

```yaml
Type: PnPConnection
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Model
The name or id of the SharePoint Syntex model.
```yaml
Type: SyntexModelPipeBind
Parameter Sets: (All)

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
## RELATED LINKS
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
4 changes: 2 additions & 2 deletions documentation/New-PnPSite.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ New-PnPSite -Type CommunicationSite -Title <String> -Url <String> [-HubSiteId <G
```

## DESCRIPTION
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.
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.

## EXAMPLES

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

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.
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).

### EXAMPLE 7
```powershell
Expand Down
6 changes: 3 additions & 3 deletions documentation/New-PnPTeamsTeam.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ online version: https://pnp.github.io/powershell/cmdlets/New-PnPTeamsTeam.html

* Microsoft Graph API: Group.ReadWrite.All

Creates a new Team in Microsoft Teams. The cmdlet will create a Microsoft 365 group and then add a team to the group.
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.

## SYNTAX

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

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.
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.

### EXAMPLE 2
```powershell
New-PnPTeamsTeam -GroupId $groupId
```

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

## PARAMETERS

Expand Down
Loading

0 comments on commit fc683c8

Please sign in to comment.