Skip to content

Commit 8ca1d54

Browse files
authored
Merge pull request MicrosoftDocs#970 from erwinvanhunen/PnPSPMay2018
PnP PowerShell May 2018 Release
2 parents a3c35ab + 1b4111a commit 8ca1d54

33 files changed

+1119
-529
lines changed

sharepoint/docs-conceptual/sharepoint-pnp/sharepoint-pnp-cmdlets.md

Lines changed: 342 additions & 333 deletions
Large diffs are not rendered by default.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPField.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,6 @@ Add-PnPField -DisplayName <String>
5959
[-Connection <SPOnlineConnection>]
6060
```
6161

62-
### Add field to Web
63-
```powershell
64-
Add-PnPField -DisplayName <String>
65-
-InternalName <String>
66-
-Type <FieldType>
67-
[-Id <GuidPipeBind>]
68-
[-Choices <String[]>]
69-
[-Web <WebPipeBind>]
70-
[-Connection <SPOnlineConnection>]
71-
```
72-
7362
## DESCRIPTION
7463
Adds a field to a list or as a site column
7564

@@ -177,8 +166,6 @@ Accept pipeline input: False
177166
### -Formula
178167
Specify the formula. Only available if the field type is Calculated
179168
180-
Only applicable to: SharePoint Online, SharePoint Server 2013
181-
182169
```yaml
183170
Type: String
184171
Parameter Sets: Add field to list

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPNavigationNode.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ Adds a navigation node to the quicklaunch. The navigation node will have the tit
3535

3636
### ------------------EXAMPLE 2------------------
3737
```powershell
38-
Add-PnPNavigationNode -Title "Contoso USA" -Url "http://contoso.sharepoint.com/sites/contoso/usa/" -Location "QuickLaunch" -Header "Contoso"
38+
Add-PnPNavigationNode -Title "Contoso USA" -Url "http://contoso.sharepoint.com/sites/contoso/usa/" -Location "QuickLaunch" -Parent 2012
3939
```
4040

41-
Adds a navigation node to the quicklaunch. The navigation node will have the title "Contoso USA", will link to the url "http://contoso.sharepoint.com/sites/contoso/usa/" and will have "Contoso" as a parent navigation node.
41+
Adds a navigation node to the quicklaunch. The navigation node will have the title "Contoso USA", will link to the url "http://contoso.sharepoint.com/sites/contoso/usa/" and will have the node with id 2012 as a parent navigation node.
4242

4343
### ------------------EXAMPLE 3------------------
4444
```powershell
@@ -87,20 +87,6 @@ Position: Named
8787
Accept pipeline input: False
8888
```
8989
90-
### -Header
91-
Optionally value of a header entry to add the menu item to.
92-
93-
Only applicable to: SharePoint Server 2016
94-
95-
```yaml
96-
Type: String
97-
Parameter Sets: (All)
98-
99-
Required: False
100-
Position: Named
101-
Accept pipeline input: False
102-
```
103-
10490
### -Location
10591
The location of the node to add. Either TopNavigationBar, QuickLaunch, SearchNav
10692
@@ -116,8 +102,6 @@ Accept pipeline input: False
116102
### -Parent
117103
The key of the parent. Leave empty to add to the top level
118104
119-
Only applicable to: SharePoint Online, SharePoint Server 2013
120-
121105
```yaml
122106
Type: Int
123107
Parameter Sets: (All)

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPSiteCollectionAppCatalog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Add-PnPSiteCollectionAppCatalog -Site <SitePipeBind>
1919

2020
### ------------------EXAMPLE 1------------------
2121
```powershell
22-
Add-PnPOffice365GroupToSite -Site "https://contoso.sharepoint.com/sites/FinanceTeamsite"
22+
Add-PnPSiteCollectionAppCatalog -Site "https://contoso.sharepoint.com/sites/FinanceTeamsite"
2323
```
2424

2525
This will add a SiteCollection app catalog to the specified site

sharepoint/sharepoint-ps/sharepoint-pnp/Apply-PnPProvisioningTemplate.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,6 @@ Accept pipeline input: False
264264
### -ProvisionFieldsToSubWebs
265265
If set fields will be provisioned if the target web is a subweb.
266266
267-
Only applicable to: SharePoint Online, SharePoint Server 2013
268-
269267
```yaml
270268
Type: SwitchParameter
271269
Parameter Sets: (All)
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
external help file:
3+
applicable: SharePoint Online
4+
schema: 2.0.0
5+
---
6+
# Approve-PnPTenantServicePrincipalPermissionRequest
7+
8+
## SYNOPSIS
9+
Approves a permission request for the current tenant's "SharePoint Online Client" service principal
10+
11+
## SYNTAX
12+
13+
```powershell
14+
Approve-PnPTenantServicePrincipalPermissionRequest -RequestId <GuidPipeBind>
15+
[-Force [<SwitchParameter>]]
16+
[-Connection <SPOnlineConnection>]
17+
```
18+
19+
## DESCRIPTION
20+
Approves a permission request for the current tenant's "SharePoint Online Client" service principal
21+
22+
The return value of a successful call is a permission grant object.
23+
24+
To get the collection of permission grants for the "SharePoint Online Client" service principal, use the Get-PnPTenantServicePrincipalPermissionGrants command.
25+
26+
Approving a permission request also removes that request from the list of permission requests.
27+
28+
## PARAMETERS
29+
30+
### -Force
31+
Specifying the Force parameter will skip the confirmation question.
32+
33+
```yaml
34+
Type: SwitchParameter
35+
Parameter Sets: (All)
36+
37+
Required: False
38+
Position: Named
39+
Accept pipeline input: False
40+
```
41+
42+
### -RequestId
43+
44+
45+
```yaml
46+
Type: GuidPipeBind
47+
Parameter Sets: (All)
48+
49+
Required: True
50+
Position: Named
51+
Accept pipeline input: False
52+
```
53+
54+
### -Connection
55+
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.
56+
57+
```yaml
58+
Type: SPOnlineConnection
59+
Parameter Sets: (All)
60+
61+
Required: False
62+
Position: Named
63+
Accept pipeline input: False
64+
```
65+
66+
## RELATED LINKS
67+
68+
[SharePoint Developer Patterns and Practices](http://aka.ms/sppnp)

0 commit comments

Comments
 (0)